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.001546/0.001546, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001465/0.001465, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1892/0.1892, allocations: 38.55 MB / 353.2 MB, free: 12.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="cs",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.002036/0.002036, allocations: 63.91 kB / 493.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 62.46 MB / 0.5427 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005769/0.3557, allocations: 3.424 MB / 0.546 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3582, allocations: 1.368 MB / 0.5474 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.3584, allocations: 9.438 kB / 0.5474 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009581/0.3593, allocations: 259.5 kB / 0.5476 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008413/0.3602, allocations: 278.7 kB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3605, allocations: 110.8 kB / 0.548 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.361, allocations: 336.4 kB / 0.5483 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.3613, allocations: 122.8 kB / 0.5484 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.3616, allocations: 159.4 kB / 0.5486 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.3619, allocations: 170 kB / 0.5488 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.3619, allocations: 13.66 kB / 0.5488 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.3624, allocations: 268.7 kB / 0.549 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3625, allocations: 98.19 kB / 0.5491 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3626, allocations: 84.7 kB / 0.5492 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.3631, allocations: 347.7 kB / 0.5495 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3631, allocations: 0 / 0.5495 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3631, allocations: 0 / 0.5495 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3632, allocations: 0.6875 kB / 0.5495 GB, free: 11.15 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.0008256/0.364, allocations: 451.2 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.364, allocations: 13.7 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.288e-05/0.3641, allocations: 5.031 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.3641, allocations: 53.77 kB / 0.55 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/0.3651, allocations: 90.97 kB / 0.5501 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.3654, allocations: 210.9 kB / 0.5503 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3654, allocations: 23.34 kB / 0.5503 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.3655, allocations: 18.98 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.366, allocations: 322.3 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3661, allocations: 1.406 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.3661, allocations: 9.531 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.3661, allocations: 14 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.3666, allocations: 283.3 kB / 0.551 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.3685, allocations: 1.221 MB / 0.5522 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.3691, allocations: 199.2 kB / 0.5523 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3692, allocations: 56.56 kB / 0.5524 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3692, allocations: 2.375 kB / 0.5524 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3693, allocations: 36.62 kB / 0.5524 GB, free: 8.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.3693, allocations: 0 / 0.5524 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001022/0.3703, allocations: 367.3 kB / 0.5528 GB, free: 8.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.3704, allocations: 83.14 kB / 0.5529 GB, free: 8.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.3706, allocations: 195.1 kB / 0.553 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.3706, allocations: 26.8 kB / 0.5531 GB, free: 8.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.3707, allocations: 168.5 kB / 0.5532 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.3708, allocations: 49.14 kB / 0.5533 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.3709, allocations: 45.97 kB / 0.5533 GB, free: 8.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.371, allocations: 332.3 kB / 0.5536 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.3711, allocations: 52.19 kB / 0.5537 GB, free: 7.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.3713, allocations: 149.5 kB / 0.5538 GB, free: 7.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.3716, allocations: 233.9 kB / 0.5541 GB, free: 7.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3716, allocations: 1.156 kB / 0.5541 GB, free: 7.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000485/0.3721, allocations: 260.7 kB / 0.5543 GB, free: 7.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3721, allocations: 11.22 kB / 0.5543 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3722, allocations: 3.125 kB / 0.5543 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002588/0.3724, allocations: 42.23 kB / 0.5544 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3726, allocations: 44.55 kB / 0.5544 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3739, allocations: 1.338 MB / 0.5557 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.3741, allocations: 4.781 kB / 0.5557 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.3741, allocations: 13.22 kB / 0.5557 GB, free: 5.852 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.0001826/0.3743, allocations: 157.7 kB / 0.5559 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.3743, allocations: 20.12 kB / 0.5559 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.3747, allocations: 188.8 kB / 0.5561 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3747, allocations: 2.375 kB / 0.5561 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3748, allocations: 0 / 0.5561 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3748, allocations: 1.219 kB / 0.5561 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.3757, allocations: 0.5222 MB / 0.5566 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3757, allocations: 1.094 kB / 0.5566 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.3758, allocations: 21.45 kB / 0.5566 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.376, allocations: 35.27 kB / 0.5566 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.376, allocations: 2.25 kB / 0.5566 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.3772, allocations: 1.311 MB / 0.5579 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3772, allocations: 5.062 kB / 0.5579 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.3776, allocations: 305.1 kB / 0.5582 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3777, allocations: 18.22 kB / 0.5582 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3777, allocations: 6.156 kB / 0.5582 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3778, allocations: 10.36 kB / 0.5583 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3779, allocations: 21.67 kB / 0.5583 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3779, allocations: 4.938 kB / 0.5583 GB, free: 3.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.378, allocations: 139.9 kB / 0.5584 GB, free: 3.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.378, allocations: 1.156 kB / 0.5584 GB, free: 3.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.3784, allocations: 52.19 kB / 0.5585 GB, free: 3.379 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.0007785/0.3792, allocations: 0.8326 MB / 0.5593 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.3797, allocations: 273.1 kB / 0.5595 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.3797, allocations: 8 kB / 0.5595 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.38, allocations: 162.8 kB / 0.5597 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3804, allocations: 40.62 kB / 0.5597 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.3836, allocations: 2.389 MB / 0.5621 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.3838, allocations: 151.9 kB / 0.5622 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.3839, allocations: 37.61 kB / 0.5623 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.384, allocations: 55.41 kB / 0.5623 GB, free: 15.17 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.384, allocations: 0 / 0.5623 GB, free: 15.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.4122, allocations: 4.16 MB / 0.5664 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.24, allocations: 10.75 kB / 0.5664 GB, free: 11.14 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: 15.057641041930765] Failed to read output from testmodel.py, exit status != 0: 12.410219157929532 12.432264959 12.065721337 Calling exit ...