Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001362/0.001362, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00166/0.00166, allocations: 215.8 kB / 23.73 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1856/0.1856, allocations: 38.54 MB / 352.5 MB, free: 12.3 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.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.003212/0.003212, allocations: 63.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4187, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005745/0.4244, allocations: 3.891 MB / 0.5457 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.4274, allocations: 1.722 MB / 0.5474 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.4275, allocations: 9.906 kB / 0.5474 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.4286, allocations: 362.2 kB / 0.5478 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.4296, allocations: 417.5 kB / 0.5482 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.43, allocations: 136.4 kB / 0.5483 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006532/0.4307, allocations: 489.8 kB / 0.5488 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.431, allocations: 166.5 kB / 0.5489 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.4315, allocations: 227.5 kB / 0.5491 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.4319, allocations: 248.3 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.4319, allocations: 19.91 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.4327, allocations: 377.2 kB / 0.5498 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.4329, allocations: 155.9 kB / 0.5499 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.433, allocations: 126.5 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000792/0.4338, allocations: 0.5012 MB / 0.5505 GB, free: 9.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4338, allocations: 0 / 0.5505 GB, free: 9.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4338, allocations: 0 / 0.5505 GB, free: 9.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4339, allocations: 0 / 0.5505 GB, free: 9.91 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000913/0.4348, allocations: 0.5329 MB / 0.551 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4348, allocations: 13.36 kB / 0.551 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.059e-05/0.4349, allocations: 66 kB / 0.5511 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.4361, allocations: 129.6 kB / 0.5512 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.4366, allocations: 244.9 kB / 0.5515 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.4366, allocations: 19.38 kB / 0.5515 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.4367, allocations: 29.38 kB / 0.5515 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.4374, allocations: 436.4 kB / 0.5519 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.4374, allocations: 8.953 kB / 0.5519 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.4375, allocations: 10.34 kB / 0.5519 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.4375, allocations: 35.28 kB / 0.552 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006991/0.4382, allocations: 422.7 kB / 0.5524 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.4407, allocations: 1.479 MB / 0.5538 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.4411, allocations: 193.4 kB / 0.554 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.4413, allocations: 118.7 kB / 0.5541 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.4414, allocations: 7.188 kB / 0.5541 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4414, allocations: 33.22 kB / 0.5542 GB, free: 7.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.4414, allocations: 1.031 kB / 0.5542 GB, free: 7.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001904/0.4433, allocations: 0.7171 MB / 0.5549 GB, free: 6.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.4434, allocations: 88.48 kB / 0.555 GB, free: 6.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.4436, allocations: 221.2 kB / 0.5552 GB, free: 6.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.4437, allocations: 29.7 kB / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.4438, allocations: 184.4 kB / 0.5554 GB, free: 6.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.4439, allocations: 87.31 kB / 0.5554 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.444, allocations: 57.94 kB / 0.5555 GB, free: 6.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4442, allocations: 334.8 kB / 0.5558 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4444, allocations: 100.5 kB / 0.5559 GB, free: 5.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4446, allocations: 213 kB / 0.5561 GB, free: 5.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.4451, allocations: 343.7 kB / 0.5565 GB, free: 4.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4451, allocations: 4 kB / 0.5565 GB, free: 4.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007949/0.4459, allocations: 432.9 kB / 0.5569 GB, free: 4.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4459, allocations: 7.938 kB / 0.5569 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.4459, allocations: 4.406 kB / 0.5569 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.4463, allocations: 88.8 kB / 0.557 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.4465, allocations: 51.91 kB / 0.557 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.4487, allocations: 1.891 MB / 0.5589 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.4488, allocations: 15.98 kB / 0.5589 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.4489, allocations: 15.98 kB / 0.5589 GB, free: 2.375 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.4491, allocations: 177.6 kB / 0.5591 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.4492, allocations: 15.91 kB / 0.5591 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007827/0.4499, allocations: 391.9 kB / 0.5594 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.45, allocations: 8.062 kB / 0.5595 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.45, allocations: 4 kB / 0.5595 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.45, allocations: 0 / 0.5595 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.4515, allocations: 0.8034 MB / 0.5602 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4515, allocations: 7.922 kB / 0.5603 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.4516, allocations: 39.98 kB / 0.5603 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/0.4519, allocations: 68.8 kB / 0.5604 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4519, allocations: 7.984 kB / 0.5604 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.4538, allocations: 1.793 MB / 0.5621 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4538, allocations: 0 / 0.5621 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.4545, allocations: 459.2 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.4546, allocations: 19.86 kB / 0.5626 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.4546, allocations: 8 kB / 0.5626 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4548, allocations: 16.05 kB / 0.5626 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.4548, allocations: 31.7 kB / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4549, allocations: 4 kB / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.455, allocations: 151.2 kB / 0.5628 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.455, allocations: 0 / 0.5628 GB, free: 14.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.4555, allocations: 84 kB / 0.5629 GB, free: 14.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.4566, allocations: 0.9926 MB / 0.5638 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007951/0.4574, allocations: 418.2 kB / 0.5642 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4574, allocations: 0 / 0.5642 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.4578, allocations: 271.5 kB / 0.5645 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.4582, allocations: 38.08 kB / 0.5645 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.4625, allocations: 3.03 MB / 0.5675 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.4627, allocations: 201.6 kB / 0.5677 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.4629, allocations: 49.91 kB / 0.5677 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.463, allocations: 87.41 kB / 0.5678 GB, free: 8.762 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.463, allocations: 0 / 0.5678 GB, free: 8.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.4963, allocations: 6.382 MB / 0.574 GB, free: 2.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.12, allocations: 19.52 kB / 0.574 GB, free: 2.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.052524723578244] Failed to read output from testmodel.py, exit status != 0: 12.235152604989707 12.262386006 11.823508326 Calling exit ...