Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001309/0.001309, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001565/0.001565, allocations: 167.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.546/1.546, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.1754/0.1754, allocations: 29.43 MB / 290.1 MB, free: 3.297 MB / 270.1 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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.152e-05, allocations: 10.16 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.00628/0.006312, allocations: 4.116 MB / 434.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.008142, allocations: 0.9197 MB / 435.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.008341, allocations: 19.81 kB / 435.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.008574, allocations: 51.55 kB / 435.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007312/0.009306, allocations: 214.6 kB / 436 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.009637, allocations: 103.8 kB / 436.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007503/0.01039, allocations: 498 kB / 436.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.01068, allocations: 91.92 kB / 436.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006154/0.0113, allocations: 295.1 kB / 437 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004936/0.01179, allocations: 223.4 kB / 437.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.01186, allocations: 24 kB / 437.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.01198, allocations: 39.98 kB / 437.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.01219, allocations: 135.6 kB / 437.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.01238, allocations: 123.7 kB / 437.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.01302, allocations: 386.7 kB / 437.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.01303, allocations: 0 / 437.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01303, allocations: 0 / 437.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.01304, allocations: 0 / 437.9 MB, free: 10.72 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001486/0.01453, allocations: 0.6229 MB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.01457, allocations: 12.03 kB / 438.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.01475, allocations: 56.58 kB / 438.6 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007175/0.01547, allocations: 335.7 kB / 438.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.0155, allocations: 28.72 kB / 439 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.01557, allocations: 27.98 kB / 439 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.01619, allocations: 357.8 kB / 439.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.0162, allocations: 3.938 kB / 439.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.01624, allocations: 15.94 kB / 439.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.01625, allocations: 12 kB / 439.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.01671, allocations: 257.8 kB / 439.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.01873, allocations: 1.299 MB / 440.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.01904, allocations: 141.1 kB / 441.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.01918, allocations: 73.73 kB / 441.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.01921, allocations: 8 kB / 441.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.01926, allocations: 38.48 kB / 441.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 2.475e-06/0.01927, allocations: 0 / 441.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001394/0.02066, allocations: 0.6043 MB / 441.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.02074, allocations: 81.05 kB / 441.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.02113, allocations: 308.4 kB / 442.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.02116, allocations: 33.83 kB / 442.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.02136, allocations: 220 kB / 442.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.02143, allocations: 59.52 kB / 442.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.02152, allocations: 53.66 kB / 442.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.02169, allocations: 334.8 kB / 442.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.02182, allocations: 75.88 kB / 442.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.02205, allocations: 169.3 kB / 443.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.02244, allocations: 256.6 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.02245, allocations: 0 / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005164/0.02296, allocations: 292.1 kB / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.02298, allocations: 8 kB / 443.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.023, allocations: 7.984 kB / 443.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.02302, allocations: 4 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.0233, allocations: 59.84 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.02331, allocations: 8.375 kB / 443.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.02349, allocations: 19.98 kB / 443.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.02353, allocations: 12 kB / 443.7 MB, free: 4.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.02373, allocations: 169.7 kB / 443.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.0238, allocations: 35.73 kB / 443.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.02426, allocations: 230.9 kB / 444.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.02427, allocations: 4 kB / 444.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.02427, allocations: 3.938 kB / 444.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.02428, allocations: 0 / 444.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008726/0.02515, allocations: 0.5202 MB / 444.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.02516, allocations: 8.031 kB / 444.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.02537, allocations: 39.92 kB / 444.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.02538, allocations: 0 / 444.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.0254, allocations: 7.938 kB / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.0254, allocations: 0 / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.02541, allocations: 7.984 kB / 444.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.02609, allocations: 432.7 kB / 445.2 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.02615, allocations: 31.78 kB / 445.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.02619, allocations: 4 kB / 445.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.02636, allocations: 7.984 kB / 445.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.02642, allocations: 24.03 kB / 445.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.02644, allocations: 7.984 kB / 445.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000317/0.02676, allocations: 211.1 kB / 445.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02676, allocations: 0 / 445.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.02713, allocations: 56 kB / 445.5 MB, free: 2.672 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.02728, allocations: 99.19 kB / 445.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.02772, allocations: 180.6 kB / 445.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.02773, allocations: 4 kB / 445.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.02787, allocations: 79.83 kB / 445.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.02844, allocations: 74.44 kB / 445.9 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.02959, allocations: 0.6105 MB / 446.5 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.02982, allocations: 199.5 kB / 446.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.02999, allocations: 50.94 kB / 446.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.03008, allocations: 28.48 kB / 446.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.03008, allocations: 4 kB / 446.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of Templates: time 0.2028/0.2328, allocations: 3.043 MB / 449.9 MB, free: 29.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.83287426456809] Failed to read output from testmodel.py, exit status != 0: 0.24168534204363823 0.25343216799999996 0.237566931 Calling exit ...