Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009959/0.000996, allocations: 183.9 kB / 16.39 MB, free: 5.758 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.348/1.348, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001773/0.001772, allocations: 112.8 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1669/0.1669, allocations: 38 MB / 340.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 8 kB / 403.9 MB, free: 68.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1004, allocations: 53.24 MB / 457.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3333/0.4337, allocations: 89.01 MB / 0.5333 GB, free: 6.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/0.4341, allocations: 83.44 kB / 0.5334 GB, free: 6.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03058/0.4647, allocations: 13.2 MB / 0.5463 GB, free: 11.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4648, allocations: 0 / 0.5463 GB, free: 11.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.4648, allocations: 4 kB / 0.5463 GB, free: 11.18 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.001097/0.4659, allocations: 0.5 MB / 0.5468 GB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.466, allocations: 16.02 kB / 0.5468 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.887e-05/0.4661, allocations: 52.67 kB / 0.5468 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.467, allocations: 103.6 kB / 0.5469 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.4675, allocations: 260.8 kB / 0.5472 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.4676, allocations: 11.88 kB / 0.5472 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.4676, allocations: 17.56 kB / 0.5472 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.4682, allocations: 315 kB / 0.5475 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4682, allocations: 0 / 0.5475 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.4682, allocations: 7.766 kB / 0.5475 GB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/0.4683, allocations: 19.98 kB / 0.5475 GB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.4688, allocations: 283.1 kB / 0.5478 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.4706, allocations: 1.289 MB / 0.5491 GB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.471, allocations: 226.4 kB / 0.5493 GB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.4711, allocations: 11.34 kB / 0.5493 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4711, allocations: 38.56 kB / 0.5493 GB, free: 8.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.4711, allocations: 0 / 0.5493 GB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006524/0.4718, allocations: 269.8 kB / 0.5496 GB, free: 7.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4718, allocations: 77.11 kB / 0.5497 GB, free: 7.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.472, allocations: 184.3 kB / 0.5498 GB, free: 7.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4721, allocations: 25.7 kB / 0.5499 GB, free: 7.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4722, allocations: 165 kB / 0.55 GB, free: 7.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.4722, allocations: 48.23 kB / 0.5501 GB, free: 7.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.4723, allocations: 3.188 kB / 0.5501 GB, free: 7.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4724, allocations: 328.1 kB / 0.5504 GB, free: 7.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.4725, allocations: 44.91 kB / 0.5504 GB, free: 7.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4727, allocations: 145.2 kB / 0.5506 GB, free: 6.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4728, allocations: 71.72 kB / 0.5506 GB, free: 6.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4728, allocations: 4 kB / 0.5506 GB, free: 6.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002974/0.4731, allocations: 216.4 kB / 0.5509 GB, free: 6.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4731, allocations: 8 kB / 0.5509 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4731, allocations: 4 kB / 0.5509 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4731, allocations: 4 kB / 0.5509 GB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.4733, allocations: 47.91 kB / 0.5509 GB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4733, allocations: 4 kB / 0.5509 GB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4734, allocations: 7.375 kB / 0.5509 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.4735, allocations: 11 kB / 0.5509 GB, free: 6.672 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.4736, allocations: 165.2 kB / 0.5511 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.4737, allocations: 16.56 kB / 0.5511 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.474, allocations: 149.4 kB / 0.5512 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.474, allocations: 0 / 0.5512 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.474, allocations: 4 kB / 0.5513 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.474, allocations: 0 / 0.5513 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.475, allocations: 0.6692 MB / 0.5519 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.475, allocations: 12.02 kB / 0.5519 GB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4751, allocations: 29.17 kB / 0.5519 GB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.4752, allocations: 8 kB / 0.552 GB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.4752, allocations: 5.75 kB / 0.552 GB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4752, allocations: 4 kB / 0.552 GB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.4752, allocations: 7.938 kB / 0.552 GB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.4757, allocations: 499 kB / 0.5524 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.4758, allocations: 94.61 kB / 0.5525 GB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.4759, allocations: 17.8 kB / 0.5526 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.476, allocations: 5.812 kB / 0.5526 GB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.4761, allocations: 22.94 kB / 0.5526 GB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4761, allocations: 8.625 kB / 0.5526 GB, free: 4.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.4762, allocations: 140.7 kB / 0.5527 GB, free: 4.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4762, allocations: 0 / 0.5527 GB, free: 4.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.4766, allocations: 44.62 kB / 0.5528 GB, free: 4.746 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.4778, allocations: 1.995 MB / 0.5547 GB, free: 2.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.4781, allocations: 132 kB / 0.5548 GB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4781, allocations: 4.25 kB / 0.5548 GB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.4782, allocations: 65.28 kB / 0.5549 GB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4785, allocations: 36.23 kB / 0.5549 GB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.4812, allocations: 3.368 MB / 0.5582 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.4816, allocations: 0.765 MB / 0.559 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.4817, allocations: 45.55 kB / 0.559 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.4818, allocations: 63.16 kB / 0.5591 GB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4818, allocations: 0 / 0.5591 GB, free: 14.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.4964, allocations: 3.107 MB / 0.5621 GB, free: 11.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.4966, allocations: 181.1 kB / 0.5623 GB, free: 10.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.126, allocations: 3.938 kB / 0.5623 GB, free: 10.94 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)