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.001323/0.001323, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001673/0.001673, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.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.2289/0.2289, allocations: 38.56 MB / 352.5 MB, free: 12.29 MB / 286.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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003094/0.003094, allocations: 63.91 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3384, allocations: 62.47 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005222/0.3436, allocations: 3.421 MB / 0.5453 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.3458, allocations: 1.382 MB / 0.5466 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.3459, allocations: 7.906 kB / 0.5466 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.3467, allocations: 244.8 kB / 0.5469 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.3473, allocations: 274.6 kB / 0.5471 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.3476, allocations: 123.1 kB / 0.5472 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.348, allocations: 339.4 kB / 0.5476 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.3483, allocations: 115.2 kB / 0.5477 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.3486, allocations: 159.4 kB / 0.5478 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.3489, allocations: 157.5 kB / 0.548 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.3489, allocations: 14.12 kB / 0.548 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.3493, allocations: 264.8 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3495, allocations: 102.4 kB / 0.5483 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3496, allocations: 92.78 kB / 0.5484 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.3501, allocations: 339.2 kB / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3501, allocations: 0 / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3501, allocations: 0 / 0.5488 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3501, allocations: 1.062 kB / 0.5488 GB, free: 11.14 MB / 398.1 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.0007189/0.3508, allocations: 454.4 kB / 0.5492 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3508, allocations: 13.92 kB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.466e-05/0.3509, allocations: 53.81 kB / 0.5493 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/0.3518, allocations: 87.14 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3522, allocations: 215.9 kB / 0.5495 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3522, allocations: 16.14 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.3522, allocations: 19.81 kB / 0.5496 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.3528, allocations: 313.3 kB / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3528, allocations: 5.266 kB / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3528, allocations: 13.42 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.3528, allocations: 18.02 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.3533, allocations: 289.4 kB / 0.5502 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.3551, allocations: 1.21 MB / 0.5514 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.3557, allocations: 195.3 kB / 0.5516 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.3558, allocations: 52.3 kB / 0.5516 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3558, allocations: 10.34 kB / 0.5516 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.3559, allocations: 40.95 kB / 0.5517 GB, free: 8.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.3559, allocations: 0 / 0.5517 GB, free: 8.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001003/0.3569, allocations: 358.9 kB / 0.552 GB, free: 8.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3569, allocations: 83.33 kB / 0.5521 GB, free: 8.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.3572, allocations: 197.1 kB / 0.5523 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3572, allocations: 30.8 kB / 0.5523 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.3573, allocations: 164 kB / 0.5525 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.3574, allocations: 58.58 kB / 0.5525 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.3575, allocations: 42.27 kB / 0.5525 GB, free: 8.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3576, allocations: 331.4 kB / 0.5529 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3578, allocations: 52.66 kB / 0.5529 GB, free: 7.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3579, allocations: 154.3 kB / 0.5531 GB, free: 7.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.3582, allocations: 230.1 kB / 0.5533 GB, free: 7.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3582, allocations: 0.875 kB / 0.5533 GB, free: 7.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004761/0.3587, allocations: 261.1 kB / 0.5535 GB, free: 7.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3587, allocations: 5.719 kB / 0.5535 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3587, allocations: 3.406 kB / 0.5535 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.359, allocations: 42.69 kB / 0.5536 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3592, allocations: 44.33 kB / 0.5536 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.3606, allocations: 1.342 MB / 0.5549 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3607, allocations: 9.312 kB / 0.5549 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3607, allocations: 8.438 kB / 0.555 GB, free: 5.844 MB / 398.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 (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 0.0001922/0.3609, allocations: 158.6 kB / 0.5551 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.3609, allocations: 20.12 kB / 0.5551 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.3614, allocations: 192.5 kB / 0.5553 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3614, allocations: 2.125 kB / 0.5553 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3614, allocations: 1.094 kB / 0.5553 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3614, allocations: 1.125 kB / 0.5553 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.3622, allocations: 0.5181 MB / 0.5558 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3622, allocations: 1.156 kB / 0.5558 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.3623, allocations: 21 kB / 0.5558 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.3625, allocations: 38.98 kB / 0.5559 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3625, allocations: 10.23 kB / 0.5559 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3637, allocations: 1.311 MB / 0.5572 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3637, allocations: 2.438 kB / 0.5572 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.3641, allocations: 304.2 kB / 0.5575 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3641, allocations: 17.83 kB / 0.5575 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3642, allocations: 6.438 kB / 0.5575 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3643, allocations: 2.406 kB / 0.5575 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3643, allocations: 22.31 kB / 0.5575 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3643, allocations: 4 kB / 0.5575 GB, free: 3.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3645, allocations: 145.2 kB / 0.5576 GB, free: 3.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 0 / 0.5576 GB, free: 3.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000385/0.3648, allocations: 53.22 kB / 0.5577 GB, free: 3.367 MB / 398.1 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 0.0007572/0.3656, allocations: 0.8406 MB / 0.5585 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.3661, allocations: 259.2 kB / 0.5588 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3661, allocations: 0 / 0.5588 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.3664, allocations: 182.7 kB / 0.5589 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3667, allocations: 32.7 kB / 0.559 GB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3697, allocations: 2.383 MB / 0.5613 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3699, allocations: 147.9 kB / 0.5614 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.37, allocations: 37.61 kB / 0.5615 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3701, allocations: 59.42 kB / 0.5615 GB, free: 15.17 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3701, allocations: 0 / 0.5615 GB, free: 15.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.4037, allocations: 4.447 MB / 0.5659 GB, free: 10.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12, allocations: 4 kB / 0.5659 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.939517800696194] Failed to read output from testmodel.py, exit status != 0: 12.117966543883085 12.133001179 11.77966552 Calling exit ...