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.001381/0.001381, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001434/0.001434, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.1898/0.1898, allocations: 38.54 MB / 353.2 MB, free: 12.54 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.001979/0.001979, allocations: 67.89 kB / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004855/0.3283, allocations: 3.558 MB / 0.5462 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.3305, allocations: 1.515 MB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3306, allocations: 9.469 kB / 0.5477 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000874/0.3315, allocations: 259.5 kB / 0.548 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005796/0.3321, allocations: 277.5 kB / 0.5482 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.3323, allocations: 118.7 kB / 0.5484 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.3327, allocations: 332.7 kB / 0.5487 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.333, allocations: 118.9 kB / 0.5488 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.3333, allocations: 159.8 kB / 0.5489 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.3335, allocations: 164.8 kB / 0.5491 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.3336, allocations: 14.34 kB / 0.5491 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.3341, allocations: 325.6 kB / 0.5494 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3342, allocations: 97.67 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3343, allocations: 109.7 kB / 0.5496 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.3348, allocations: 348 kB / 0.5499 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3348, allocations: 0 / 0.5499 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3348, allocations: 0 / 0.5499 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.3348, allocations: 1.406 kB / 0.5499 GB, free: 10.98 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.0006901/0.3355, allocations: 452.3 kB / 0.5504 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3355, allocations: 13.27 kB / 0.5504 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.665e-05/0.3355, allocations: 5.375 kB / 0.5504 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.3356, allocations: 62.08 kB / 0.5505 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.3364, allocations: 94.8 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3368, allocations: 198.9 kB / 0.5507 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3368, allocations: 18.64 kB / 0.5508 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.3368, allocations: 20.17 kB / 0.5508 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.3373, allocations: 328.5 kB / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3373, allocations: 0 / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3374, allocations: 14.12 kB / 0.5511 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.3374, allocations: 13.09 kB / 0.5511 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.3378, allocations: 287.5 kB / 0.5514 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.3396, allocations: 1.258 MB / 0.5526 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.3401, allocations: 199.5 kB / 0.5528 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.3402, allocations: 59.78 kB / 0.5529 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3403, allocations: 2.438 kB / 0.5529 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3403, allocations: 35.47 kB / 0.5529 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.3403, allocations: 1 kB / 0.5529 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009271/0.3412, allocations: 362 kB / 0.5532 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.3413, allocations: 83.8 kB / 0.5533 GB, free: 8.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.3415, allocations: 194.9 kB / 0.5535 GB, free: 8.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3415, allocations: 31.36 kB / 0.5535 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3416, allocations: 171.7 kB / 0.5537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.3416, allocations: 46.86 kB / 0.5537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.3417, allocations: 49.56 kB / 0.5538 GB, free: 7.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3419, allocations: 327.2 kB / 0.5541 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.342, allocations: 51.66 kB / 0.5542 GB, free: 7.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3421, allocations: 146.9 kB / 0.5543 GB, free: 7.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.3424, allocations: 235.8 kB / 0.5545 GB, free: 7.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3424, allocations: 5.094 kB / 0.5545 GB, free: 7.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004602/0.3429, allocations: 264.2 kB / 0.5548 GB, free: 7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3429, allocations: 7.156 kB / 0.5548 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3429, allocations: 3.594 kB / 0.5548 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.3432, allocations: 36.67 kB / 0.5548 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3433, allocations: 40.48 kB / 0.5549 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3446, allocations: 1.34 MB / 0.5562 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3447, allocations: 16.67 kB / 0.5562 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3447, allocations: 13.72 kB / 0.5562 GB, free: 5.609 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.0001583/0.3449, allocations: 156.7 kB / 0.5564 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3449, allocations: 20.69 kB / 0.5564 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.3453, allocations: 184.5 kB / 0.5565 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3453, allocations: 2.188 kB / 0.5565 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3453, allocations: 5.125 kB / 0.5566 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3453, allocations: 0 / 0.5566 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.3462, allocations: 0.5337 MB / 0.5571 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3462, allocations: 5.594 kB / 0.5571 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.539e-05/0.3463, allocations: 21.08 kB / 0.5571 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.3465, allocations: 38.7 kB / 0.5571 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3465, allocations: 2.125 kB / 0.5571 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.3476, allocations: 1.313 MB / 0.5584 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3476, allocations: 5.062 kB / 0.5584 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.3481, allocations: 301.2 kB / 0.5587 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.3481, allocations: 22.7 kB / 0.5587 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3481, allocations: 6.219 kB / 0.5587 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3482, allocations: 2.25 kB / 0.5587 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3483, allocations: 33.45 kB / 0.5588 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3483, allocations: 4.406 kB / 0.5588 GB, free: 3.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3484, allocations: 140.6 kB / 0.5589 GB, free: 3.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 0 / 0.5589 GB, free: 3.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.3488, allocations: 53.5 kB / 0.559 GB, free: 3.109 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.0007285/0.3495, allocations: 0.8327 MB / 0.5598 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005041/0.35, allocations: 260.9 kB / 0.56 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.35, allocations: 0 / 0.56 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.3503, allocations: 174.6 kB / 0.5602 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3506, allocations: 30.64 kB / 0.5602 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.3536, allocations: 2.376 MB / 0.5625 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.354, allocations: 0.7632 MB / 0.5633 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.3541, allocations: 41.55 kB / 0.5633 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.3542, allocations: 55.41 kB / 0.5634 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3542, allocations: 7.938 kB / 0.5634 GB, free: 14.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3809, allocations: 4.151 MB / 0.5674 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.16, allocations: 3.938 kB / 0.5674 GB, free: 10.36 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.96866901597241] Failed to read output from testmodel.py, exit status != 0: 12.331148855970241 12.34701317 12.008926955 Calling exit ...