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.001975/0.001975, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002162/0.002162, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.662/1.662, 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.1994/0.1994, allocations: 38.55 MB / 352.5 MB, free: 12.27 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.003404/0.003404, allocations: 67.91 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.39, allocations: 62.46 MB / 0.5419 GB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005603/0.3956, allocations: 3.427 MB / 0.5453 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3978, allocations: 1.379 MB / 0.5466 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.398, allocations: 8.812 kB / 0.5466 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008144/0.3988, allocations: 247.6 kB / 0.5469 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.3994, allocations: 282.4 kB / 0.5471 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3997, allocations: 111.2 kB / 0.5472 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.4001, allocations: 339.9 kB / 0.5476 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.4004, allocations: 123 kB / 0.5477 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.4007, allocations: 156 kB / 0.5478 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.401, allocations: 169 kB / 0.548 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.4011, allocations: 14.69 kB / 0.548 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.4016, allocations: 268.2 kB / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.4017, allocations: 97.78 kB / 0.5484 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.4018, allocations: 81.67 kB / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.4024, allocations: 354.6 kB / 0.5488 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4024, allocations: 4.906 kB / 0.5488 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4024, allocations: 0 / 0.5488 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.4025, allocations: 0 / 0.5488 GB, free: 11.09 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.000801/0.4033, allocations: 443.3 kB / 0.5492 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4033, allocations: 13.3 kB / 0.5492 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.046e-05/0.4034, allocations: 57.97 kB / 0.5493 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000912/0.4043, allocations: 91.28 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.4047, allocations: 208 kB / 0.5496 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4047, allocations: 19.64 kB / 0.5496 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.4048, allocations: 24.19 kB / 0.5496 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.4053, allocations: 309.6 kB / 0.5499 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.4053, allocations: 5.359 kB / 0.5499 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.4054, allocations: 13.73 kB / 0.5499 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.4054, allocations: 16.69 kB / 0.5499 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.4058, allocations: 282 kB / 0.5502 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.4076, allocations: 1.218 MB / 0.5514 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.4082, allocations: 194.3 kB / 0.5516 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4083, allocations: 60.34 kB / 0.5516 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.4083, allocations: 2.281 kB / 0.5516 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.4084, allocations: 37.38 kB / 0.5517 GB, free: 8.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.4084, allocations: 0 / 0.5517 GB, free: 8.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001023/0.4094, allocations: 366.7 kB / 0.552 GB, free: 8.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.4094, allocations: 80.17 kB / 0.5521 GB, free: 8.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.4096, allocations: 203.9 kB / 0.5523 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4097, allocations: 26.7 kB / 0.5523 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.4098, allocations: 163.9 kB / 0.5525 GB, free: 8.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.4098, allocations: 50.58 kB / 0.5525 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.4099, allocations: 46.33 kB / 0.5526 GB, free: 8.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.41, allocations: 326.9 kB / 0.5529 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.234e-05/0.4101, allocations: 57.19 kB / 0.5529 GB, free: 7.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.4103, allocations: 150.2 kB / 0.5531 GB, free: 7.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.4106, allocations: 229.2 kB / 0.5533 GB, free: 7.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.4106, allocations: 5.078 kB / 0.5533 GB, free: 7.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004483/0.4111, allocations: 265.1 kB / 0.5535 GB, free: 7.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4111, allocations: 7.531 kB / 0.5535 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4111, allocations: 2.938 kB / 0.5536 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.4113, allocations: 41.08 kB / 0.5536 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.4115, allocations: 37.39 kB / 0.5536 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.4128, allocations: 1.349 MB / 0.5549 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.4129, allocations: 9.062 kB / 0.555 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.4129, allocations: 9.281 kB / 0.555 GB, free: 5.793 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.0001962/0.4131, allocations: 162 kB / 0.5551 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.4132, allocations: 19.78 kB / 0.5551 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.4136, allocations: 181.2 kB / 0.5553 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4136, allocations: 2.281 kB / 0.5553 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4136, allocations: 5.281 kB / 0.5553 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4136, allocations: 0 / 0.5553 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.4144, allocations: 0.5187 MB / 0.5558 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4144, allocations: 1.094 kB / 0.5558 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.4145, allocations: 25.14 kB / 0.5558 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.4147, allocations: 34.7 kB / 0.5559 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4147, allocations: 6.562 kB / 0.5559 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.4158, allocations: 1.314 MB / 0.5572 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4158, allocations: 2.031 kB / 0.5572 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.4162, allocations: 307.1 kB / 0.5575 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.4163, allocations: 18.59 kB / 0.5575 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.4163, allocations: 2.656 kB / 0.5575 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4164, allocations: 10.38 kB / 0.5575 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4164, allocations: 17.41 kB / 0.5575 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4165, allocations: 12.03 kB / 0.5575 GB, free: 3.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.4166, allocations: 140.9 kB / 0.5577 GB, free: 3.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4166, allocations: 1.094 kB / 0.5577 GB, free: 3.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.417, allocations: 48.62 kB / 0.5577 GB, free: 3.32 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.0006894/0.4177, allocations: 0.847 MB / 0.5585 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.4182, allocations: 254.4 kB / 0.5588 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4182, allocations: 0 / 0.5588 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.4184, allocations: 171.7 kB / 0.5589 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4188, allocations: 41.34 kB / 0.559 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.4216, allocations: 2.379 MB / 0.5613 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.4218, allocations: 151.8 kB / 0.5614 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.4219, allocations: 37.61 kB / 0.5615 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.422, allocations: 59.41 kB / 0.5615 GB, free: 15.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.422, allocations: 0 / 0.5615 GB, free: 15.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.4564, allocations: 4.537 MB / 0.566 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.95, allocations: 7.844 kB / 0.566 GB, free: 10.7 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: 15.113252366892993] Failed to read output from testmodel.py, exit status != 0: 12.063070025062189 12.078201393 11.672086917 Calling exit ...