Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008407/0.0008407, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003514/0.003514, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8504/0.8504, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2188/0.2188, allocations: 29.41 MB / 290.8 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.584e-05, allocations: 8.109 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00382/0.003836, allocations: 4.401 MB / 435.9 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.005156, allocations: 1.363 MB / 437.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.005299, allocations: 19.81 kB / 437.3 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.005814, allocations: 286.6 kB / 437.5 MB, free: 6.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.006137, allocations: 294.2 kB / 437.8 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.00652, allocations: 259.3 kB / 438.1 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.00694, allocations: 0.674 MB / 438.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.00719, allocations: 208.5 kB / 439 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.007531, allocations: 406.7 kB / 439.4 MB, free: 5.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.007855, allocations: 407 kB / 439.7 MB, free: 4.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.007902, allocations: 48 kB / 439.8 MB, free: 4.715 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.008126, allocations: 211.7 kB / 440 MB, free: 4.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.008287, allocations: 263.3 kB / 440.3 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.008426, allocations: 203.5 kB / 440.5 MB, free: 4.051 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.008963, allocations: 0.7984 MB / 441.3 MB, free: 3.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.008964, allocations: 0 / 441.3 MB, free: 3.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008965, allocations: 4 kB / 441.3 MB, free: 3.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.008971, allocations: 0 / 441.3 MB, free: 3.246 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001127/0.0101, allocations: 0.8162 MB / 442.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.01013, allocations: 11.98 kB / 442.1 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.01052, allocations: 136.4 kB / 442.2 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.01092, allocations: 371.8 kB / 442.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.01095, allocations: 33.36 kB / 442.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.011, allocations: 40.36 kB / 442.7 MB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/0.01177, allocations: 0.9393 MB / 443.6 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.01178, allocations: 7.938 kB / 443.6 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.01182, allocations: 23.95 kB / 443.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.543e-05/0.01189, allocations: 60.95 kB / 443.7 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1511/0.163, allocations: 0.8615 MB / 444.5 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.1652, allocations: 2.485 MB / 447 MB, free: 53.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.1657, allocations: 0.5539 MB / 447.6 MB, free: 53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.166, allocations: 434.2 kB / 448 MB, free: 52.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.166, allocations: 8.156 kB / 448 MB, free: 52.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.166, allocations: 36.62 kB / 448.1 MB, free: 52.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 2.043e-06/0.166, allocations: 0 / 448.1 MB, free: 52.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001673/0.1677, allocations: 1.997 MB / 450.1 MB, free: 52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1677, allocations: 136.1 kB / 450.2 MB, free: 51.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1679, allocations: 305.2 kB / 450.5 MB, free: 51.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1679, allocations: 35.98 kB / 450.5 MB, free: 51.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.168, allocations: 262.8 kB / 450.8 MB, free: 51.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.1681, allocations: 194 kB / 451 MB, free: 51.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.1682, allocations: 100.3 kB / 451.1 MB, free: 51.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.1682, allocations: 350 kB / 451.4 MB, free: 50.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1685, allocations: 418.2 kB / 451.8 MB, free: 50.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1688, allocations: 0.5528 MB / 452.4 MB, free: 50.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.1694, allocations: 1.011 MB / 453.4 MB, free: 50.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1694, allocations: 3.875 kB / 453.4 MB, free: 50.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007339/0.1701, allocations: 1.077 MB / 454.5 MB, free: 49.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.1701, allocations: 73.75 kB / 454.5 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1701, allocations: 3.375 kB / 454.5 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.1703, allocations: 45.27 kB / 454.6 MB, free: 49.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.1705, allocations: 85.86 kB / 454.7 MB, free: 49.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005764/0.171, allocations: 1.424 MB / 456.1 MB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.1712, allocations: 38.39 kB / 456.1 MB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1712, allocations: 26.19 kB / 456.1 MB, free: 48.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.1714, allocations: 300.3 kB / 456.4 MB, free: 48.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.1715, allocations: 43.28 kB / 456.5 MB, free: 48.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008043/0.1723, allocations: 1.136 MB / 457.6 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.1723, allocations: 14.64 kB / 457.6 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1723, allocations: 1.75 kB / 457.6 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1723, allocations: 0 / 457.6 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1735, allocations: 1.699 MB / 459.3 MB, free: 46.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1735, allocations: 6.062 kB / 459.3 MB, free: 46.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.1736, allocations: 54.97 kB / 459.4 MB, free: 46.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.1737, allocations: 35.56 kB / 459.4 MB, free: 46.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1737, allocations: 17.78 kB / 459.4 MB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000496/0.1742, allocations: 1.418 MB / 460.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1742, allocations: 5.547 kB / 460.9 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000781/0.175, allocations: 1.232 MB / 462.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1751, allocations: 97.72 kB / 462.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1752, allocations: 13 kB / 462.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1753, allocations: 25.83 kB / 462.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.1754, allocations: 50.81 kB / 462.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.1754, allocations: 19.81 kB / 462.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.279e-05/0.1755, allocations: 205.3 kB / 462.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1755, allocations: 0 / 462.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.1758, allocations: 144.4 kB / 462.6 MB, free: 44.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.176, allocations: 137.6 kB / 462.8 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008666/0.1768, allocations: 1.267 MB / 464 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1768, allocations: 2.906 kB / 464.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.1773, allocations: 0.7388 MB / 464.8 MB, free: 43.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1776, allocations: 78.03 kB / 464.9 MB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1788, allocations: 1.513 MB / 466.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.1789, allocations: 308.5 kB / 466.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.303e-05/0.179, allocations: 36.69 kB / 466.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.179, allocations: 0 / 466.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Templates: time 0.006116/0.1851, allocations: 8.783 MB / 475.5 MB, free: 42.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.081457242369652] Failed to read output from testmodel.py, exit status != 0: 0.1895915949717164 0.198260143 0.187488172 Calling exit ...