Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.0009538/0.0009538, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001633/0.001633, allocations: 172.2 kB / 24.92 MB, free: 9.113 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2557/0.2557, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.267e-05, allocations: 8.359 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005879/0.005912, allocations: 3.466 MB / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.008358, allocations: 1.169 MB / 321.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.008646, allocations: 7.938 kB / 321.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.009623, allocations: 203.1 kB / 321.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008284/0.01045, allocations: 286.5 kB / 321.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.01083, allocations: 107.5 kB / 322.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.01122, allocations: 339.3 kB / 322.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.01147, allocations: 130.7 kB / 322.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.01185, allocations: 203.4 kB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.01209, allocations: 131.6 kB / 322.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.01212, allocations: 16 kB / 322.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.01249, allocations: 259.1 kB / 323.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.0126, allocations: 107.8 kB / 323.2 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.01267, allocations: 75.77 kB / 323.3 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.01312, allocations: 303 kB / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.01312, allocations: 0 / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.01313, allocations: 0 / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.01313, allocations: 0 / 323.6 MB, free: 9.234 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005114/0.01364, allocations: 423.2 kB / 324 MB, free: 8.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.01368, allocations: 11.98 kB / 324 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.01426, allocations: 128.7 kB / 324.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.01454, allocations: 209.1 kB / 324.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.01456, allocations: 12.38 kB / 324.3 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.0146, allocations: 20.31 kB / 324.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.01487, allocations: 206.9 kB / 324.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.01489, allocations: 3.938 kB / 324.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.0149, allocations: 4 kB / 324.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.01494, allocations: 23.92 kB / 324.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.01506, allocations: 94.69 kB / 324.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009182/0.01597, allocations: 0.9653 MB / 325.7 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.01629, allocations: 194.6 kB / 325.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.01632, allocations: 29.78 kB / 325.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.01634, allocations: 4 kB / 325.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.01637, allocations: 34.56 kB / 325.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.01637, allocations: 0 / 325.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005351/0.01691, allocations: 191.9 kB / 326.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.01695, allocations: 81.09 kB / 326.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.01708, allocations: 175.3 kB / 326.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.01709, allocations: 29.83 kB / 326.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.01717, allocations: 164.2 kB / 326.5 MB, free: 6.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.01719, allocations: 51.58 kB / 326.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.01725, allocations: 41.69 kB / 326.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.01734, allocations: 326.8 kB / 327 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.01738, allocations: 22.81 kB / 327 MB, free: 5.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.01746, allocations: 121.3 kB / 327.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.01761, allocations: 171.3 kB / 327.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01761, allocations: 0 / 327.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002249/0.01784, allocations: 174.9 kB / 327.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01786, allocations: 8 kB / 327.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01786, allocations: 7.984 kB / 327.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.01804, allocations: 41.2 kB / 327.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.01813, allocations: 47.91 kB / 327.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000769/0.0189, allocations: 1.18 MB / 328.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.01897, allocations: 8 kB / 328.7 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01898, allocations: 8 kB / 328.7 MB, free: 3.645 MB / 298.7 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/0.01908, allocations: 140.7 kB / 328.9 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.0191, allocations: 11.98 kB / 328.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.0193, allocations: 115.9 kB / 329 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.0193, allocations: 7.938 kB / 329 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.0193, allocations: 0 / 329 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.01931, allocations: 0 / 329 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.01975, allocations: 385.8 kB / 329.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01975, allocations: 0 / 329.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.01981, allocations: 23.98 kB / 329.4 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.189e-05/0.0199, allocations: 28.77 kB / 329.4 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01991, allocations: 8 kB / 329.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005847/0.02049, allocations: 1.198 MB / 330.6 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02049, allocations: 0 / 330.6 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.0207, allocations: 285.1 kB / 330.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.02072, allocations: 15.89 kB / 330.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.02073, allocations: 4 kB / 330.9 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.02079, allocations: 4 kB / 330.9 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.02082, allocations: 27.94 kB / 331 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.02083, allocations: 4 kB / 331 MB, free: 1.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.694e-05/0.02086, allocations: 42.78 kB / 331 MB, free: 1.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02086, allocations: 0 / 331 MB, free: 1.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.02108, allocations: 48 kB / 331.1 MB, free: 1.113 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.599e-05/0.02117, allocations: 80.42 kB / 331.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.02144, allocations: 215.4 kB / 331.3 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.02144, allocations: 4 kB / 331.3 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.02155, allocations: 147.4 kB / 331.5 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.0218, allocations: 44.41 kB / 331.5 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.02274, allocations: 437.6 kB / 332 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.719e-05/0.02281, allocations: 95.95 kB / 332.1 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.513e-05/0.02289, allocations: 25.47 kB / 332.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.02296, allocations: 71.36 kB / 332.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02296, allocations: 0 / 332.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of Templates: time 0.004087/0.02705, allocations: 1.749 MB / 333.9 MB, free: 14.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.965941329021007]