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.002057/0.002057, 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.002539/0.002539, allocations: 209.7 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1915/0.1915, 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.002268/0.002268, allocations: 67.89 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3179, allocations: 62.47 MB / 0.5419 GB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005425/0.3234, allocations: 3.428 MB / 0.5453 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3256, allocations: 1.377 MB / 0.5466 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.3257, allocations: 9.031 kB / 0.5466 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009397/0.3267, allocations: 247.7 kB / 0.5469 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.3274, allocations: 274.8 kB / 0.5471 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.3278, allocations: 114.7 kB / 0.5472 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.3283, allocations: 332.1 kB / 0.5476 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.3286, allocations: 123.2 kB / 0.5477 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.3289, allocations: 163.1 kB / 0.5478 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.3293, allocations: 153.9 kB / 0.548 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.3293, allocations: 22.05 kB / 0.548 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.3298, allocations: 256 kB / 0.5482 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.3299, allocations: 102.8 kB / 0.5483 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3301, allocations: 93.22 kB / 0.5484 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.3306, allocations: 339.5 kB / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3306, allocations: 0 / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3306, allocations: 0 / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3306, allocations: 0 / 0.5488 GB, free: 11.02 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.0007503/0.3314, allocations: 450.7 kB / 0.5492 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3314, allocations: 17.8 kB / 0.5492 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.3315, allocations: 54.61 kB / 0.5493 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008764/0.3323, allocations: 90.75 kB / 0.5493 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.3327, allocations: 216.6 kB / 0.5495 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3328, allocations: 10.62 kB / 0.5496 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.3328, allocations: 23.72 kB / 0.5496 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.3333, allocations: 322.4 kB / 0.5499 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3334, allocations: 5.438 kB / 0.5499 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.3334, allocations: 5.312 kB / 0.5499 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.3334, allocations: 16.83 kB / 0.5499 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.3339, allocations: 287 kB / 0.5502 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.3359, allocations: 1.213 MB / 0.5514 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.3365, allocations: 198.2 kB / 0.5516 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3366, allocations: 60.97 kB / 0.5516 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.3366, allocations: 6.156 kB / 0.5516 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.3367, allocations: 32.84 kB / 0.5517 GB, free: 8.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.3367, allocations: 0 / 0.5517 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001223/0.3379, allocations: 359.4 kB / 0.552 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.338, allocations: 83.61 kB / 0.5521 GB, free: 8.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.3383, allocations: 201.4 kB / 0.5523 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3384, allocations: 30.64 kB / 0.5523 GB, free: 8.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.3385, allocations: 160.7 kB / 0.5525 GB, free: 8.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.3386, allocations: 49.94 kB / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3388, allocations: 41.36 kB / 0.5525 GB, free: 7.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.339, allocations: 336.2 kB / 0.5529 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3392, allocations: 52.59 kB / 0.5529 GB, free: 7.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.3395, allocations: 149.8 kB / 0.5531 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.34, allocations: 233.3 kB / 0.5533 GB, free: 7.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.34, allocations: 1.344 kB / 0.5533 GB, free: 7.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007756/0.3408, allocations: 257.2 kB / 0.5535 GB, free: 7.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3408, allocations: 6 kB / 0.5535 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.3408, allocations: 3.469 kB / 0.5535 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.3412, allocations: 42.95 kB / 0.5536 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.3414, allocations: 48.06 kB / 0.5536 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.3433, allocations: 1.334 MB / 0.5549 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3435, allocations: 8.344 kB / 0.5549 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.3436, allocations: 13.86 kB / 0.5549 GB, free: 5.73 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.0002448/0.3438, allocations: 161.6 kB / 0.5551 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.3439, allocations: 23.64 kB / 0.5551 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.3444, allocations: 189 kB / 0.5553 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3444, allocations: 2.469 kB / 0.5553 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3445, allocations: 1.406 kB / 0.5553 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3445, allocations: 3.984 kB / 0.5553 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.3458, allocations: 0.5189 MB / 0.5558 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3458, allocations: 1.469 kB / 0.5558 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3459, allocations: 24.83 kB / 0.5558 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.3461, allocations: 34.64 kB / 0.5559 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.3461, allocations: 6.281 kB / 0.5559 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.3474, allocations: 1.319 MB / 0.5572 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3474, allocations: 1.031 kB / 0.5572 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.3478, allocations: 296.8 kB / 0.5575 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.3479, allocations: 14.59 kB / 0.5575 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3479, allocations: 10.14 kB / 0.5575 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.348, allocations: 6.062 kB / 0.5575 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3481, allocations: 21.3 kB / 0.5575 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3481, allocations: 4.719 kB / 0.5575 GB, free: 3.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.3482, allocations: 153.7 kB / 0.5577 GB, free: 3.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0 / 0.5577 GB, free: 3.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.3487, allocations: 52.41 kB / 0.5577 GB, free: 3.238 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.0008292/0.3495, allocations: 0.8366 MB / 0.5585 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.3501, allocations: 259.2 kB / 0.5588 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3501, allocations: 0 / 0.5588 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.3504, allocations: 178.5 kB / 0.5589 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3507, allocations: 33.52 kB / 0.559 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.3542, allocations: 2.383 MB / 0.5613 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.3543, allocations: 147.9 kB / 0.5614 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.3545, allocations: 41.58 kB / 0.5615 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3546, allocations: 59.42 kB / 0.5615 GB, free: 15.07 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3546, allocations: 0 / 0.5615 GB, free: 15.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.3914, allocations: 4.457 MB / 0.5659 GB, free: 10.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.95, allocations: 4 kB / 0.5659 GB, free: 10.73 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.986595316324383] Failed to read output from testmodel.py, exit status != 0: 12.061695750802755 12.077033666 11.743192433 Calling exit ...