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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00171/0.00171, allocations: 179.2 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.545/1.545, allocations: 194.5 MB / 212.6 MB, free: 2.941 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001618/0.001618, allocations: 115.3 kB / 257.9 MB, free: 4.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1756/0.1756, allocations: 38.02 MB / 341.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09831, allocations: 53.24 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4418, allocations: 89.03 MB / 0.5345 GB, free: 6.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.442, allocations: 87.83 kB / 0.5346 GB, free: 6.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02901/0.4711, allocations: 13.21 MB / 0.5475 GB, free: 11.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4711, allocations: 0 / 0.5475 GB, free: 11.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4711, allocations: 4 kB / 0.5475 GB, free: 11.26 MB / 362.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.0007683/0.4719, allocations: 0.4898 MB / 0.5479 GB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.472, allocations: 12.03 kB / 0.5479 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008515/0.4728, allocations: 92.27 kB / 0.548 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.4732, allocations: 268.5 kB / 0.5483 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.4733, allocations: 19.86 kB / 0.5483 GB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.4733, allocations: 15.88 kB / 0.5483 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.4738, allocations: 313.8 kB / 0.5486 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4738, allocations: 4 kB / 0.5486 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.4738, allocations: 7.422 kB / 0.5486 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/0.4739, allocations: 23.23 kB / 0.5487 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.4744, allocations: 280.6 kB / 0.5489 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.4761, allocations: 1.292 MB / 0.5502 GB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.4765, allocations: 165.8 kB / 0.5503 GB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/0.4766, allocations: 56.14 kB / 0.5504 GB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.4767, allocations: 0.7188 kB / 0.5504 GB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4767, allocations: 44 kB / 0.5504 GB, free: 8.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.4767, allocations: 0 / 0.5504 GB, free: 8.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001008/0.4777, allocations: 415.7 kB / 0.5508 GB, free: 8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.4778, allocations: 85.73 kB / 0.5509 GB, free: 7.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.478, allocations: 193.2 kB / 0.5511 GB, free: 7.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.478, allocations: 33.33 kB / 0.5511 GB, free: 7.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4781, allocations: 168 kB / 0.5513 GB, free: 7.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.4782, allocations: 46.03 kB / 0.5513 GB, free: 7.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.4782, allocations: 11.75 kB / 0.5514 GB, free: 7.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4783, allocations: 325.3 kB / 0.5517 GB, free: 7.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.4784, allocations: 46.28 kB / 0.5517 GB, free: 7.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.4786, allocations: 151.8 kB / 0.5519 GB, free: 6.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.4788, allocations: 225.9 kB / 0.5521 GB, free: 6.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4788, allocations: 7.938 kB / 0.5521 GB, free: 6.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004126/0.4793, allocations: 253.5 kB / 0.5523 GB, free: 6.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4793, allocations: 4.438 kB / 0.5523 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.4793, allocations: 8 kB / 0.5523 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.4795, allocations: 40.2 kB / 0.5524 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4797, allocations: 43.23 kB / 0.5524 GB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.4809, allocations: 1.347 MB / 0.5537 GB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.481, allocations: 7.188 kB / 0.5537 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.481, allocations: 8 kB / 0.5537 GB, free: 5.004 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.4812, allocations: 158.3 kB / 0.5539 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.4813, allocations: 23.84 kB / 0.5539 GB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.4817, allocations: 191.8 kB / 0.5541 GB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4817, allocations: 4 kB / 0.5541 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4817, allocations: 0 / 0.5541 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4817, allocations: 0 / 0.5541 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/0.4826, allocations: 0.5524 MB / 0.5546 GB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4826, allocations: 4 kB / 0.5546 GB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/0.4827, allocations: 19.98 kB / 0.5547 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.4828, allocations: 32.08 kB / 0.5547 GB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4829, allocations: 0 / 0.5547 GB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.484, allocations: 1.324 MB / 0.556 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.484, allocations: 8.188 kB / 0.556 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.4843, allocations: 289.9 kB / 0.5563 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.4844, allocations: 96.86 kB / 0.5564 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.4845, allocations: 11.38 kB / 0.5564 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4846, allocations: 11.48 kB / 0.5564 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.4846, allocations: 11.92 kB / 0.5564 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4846, allocations: 4 kB / 0.5564 GB, free: 2.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.4847, allocations: 138.7 kB / 0.5565 GB, free: 2.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4848, allocations: 4 kB / 0.5565 GB, free: 2.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.4852, allocations: 51.5 kB / 0.5566 GB, free: 2.086 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.4853, allocations: 114 kB / 0.5567 GB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.4858, allocations: 267.3 kB / 0.5569 GB, free: 1.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4858, allocations: 0.875 kB / 0.5569 GB, free: 1.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.4861, allocations: 174.9 kB / 0.5571 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.4865, allocations: 42.09 kB / 0.5572 GB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.4873, allocations: 0.5188 MB / 0.5577 GB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.4876, allocations: 0.7552 MB / 0.5584 GB, free: 236 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.4877, allocations: 37.52 kB / 0.5584 GB, free: 196 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.4878, allocations: 27.36 kB / 0.5585 GB, free: 172 kB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4878, allocations: 0 / 0.5585 GB, free: 172 kB / 362.7 MB Notification: Performance of Templates: time 0.004216/0.492, allocations: 1.532 MB / 0.56 GB, free: 14.65 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)