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.00132/0.00132, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002238/0.002238, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2316/0.2316, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.002123/0.002123, allocations: 63.89 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3182, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005419/0.3236, allocations: 4.093 MB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.3264, allocations: 1.886 MB / 0.5478 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3265, allocations: 11.34 kB / 0.5478 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.3275, allocations: 385 kB / 0.5482 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009322/0.3284, allocations: 411.9 kB / 0.5486 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.3289, allocations: 136.7 kB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006469/0.3295, allocations: 489.2 kB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.3299, allocations: 171.7 kB / 0.5494 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.3303, allocations: 222.8 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.3307, allocations: 255.7 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.3307, allocations: 20.59 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.3315, allocations: 464.7 kB / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.3317, allocations: 155.7 kB / 0.5504 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.3319, allocations: 145.7 kB / 0.5506 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.3326, allocations: 0.5004 MB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3326, allocations: 1.562 kB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3326, allocations: 0 / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3326, allocations: 3.938 kB / 0.5511 GB, free: 9.594 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.0008062/0.3334, allocations: 0.5348 MB / 0.5516 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3335, allocations: 13.03 kB / 0.5516 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/0.3335, allocations: 61.11 kB / 0.5517 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.3347, allocations: 137.4 kB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.3351, allocations: 241.4 kB / 0.552 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.3352, allocations: 24.31 kB / 0.552 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.3352, allocations: 27.98 kB / 0.5521 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.3359, allocations: 435 kB / 0.5525 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.336, allocations: 13 kB / 0.5525 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.336, allocations: 14.55 kB / 0.5525 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.336, allocations: 27.23 kB / 0.5525 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.3367, allocations: 424.9 kB / 0.5529 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.3391, allocations: 1.64 MB / 0.5545 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.3394, allocations: 190.5 kB / 0.5547 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.3396, allocations: 122.8 kB / 0.5548 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3396, allocations: 10.17 kB / 0.5549 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.3396, allocations: 33.41 kB / 0.5549 GB, free: 6.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.023e-06/0.3396, allocations: 0 / 0.5549 GB, free: 6.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001746/0.3414, allocations: 0.7157 MB / 0.5556 GB, free: 6.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3415, allocations: 79.48 kB / 0.5557 GB, free: 6.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.3417, allocations: 219.9 kB / 0.5559 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3417, allocations: 30.95 kB / 0.5559 GB, free: 5.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3418, allocations: 187.4 kB / 0.5561 GB, free: 5.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.342, allocations: 85.58 kB / 0.5562 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.3421, allocations: 57.98 kB / 0.5562 GB, free: 5.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3422, allocations: 330.8 kB / 0.5565 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3424, allocations: 108.6 kB / 0.5566 GB, free: 5.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.3426, allocations: 213 kB / 0.5568 GB, free: 4.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.3431, allocations: 346.7 kB / 0.5572 GB, free: 4.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3431, allocations: 0 / 0.5572 GB, free: 4.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007664/0.3439, allocations: 433.7 kB / 0.5576 GB, free: 4.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3439, allocations: 4 kB / 0.5576 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3439, allocations: 7.984 kB / 0.5576 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.3443, allocations: 84.8 kB / 0.5577 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3445, allocations: 56.25 kB / 0.5577 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.3467, allocations: 1.898 MB / 0.5596 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3469, allocations: 15.98 kB / 0.5596 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3469, allocations: 12.19 kB / 0.5596 GB, free: 1.941 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.0001951/0.3471, allocations: 173.7 kB / 0.5598 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.3472, allocations: 27.8 kB / 0.5598 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007644/0.3479, allocations: 392.7 kB / 0.5602 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3479, allocations: 8 kB / 0.5602 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3479, allocations: 0 / 0.5602 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3479, allocations: 0 / 0.5602 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.3495, allocations: 0.8742 MB / 0.561 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3495, allocations: 3.938 kB / 0.561 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.3497, allocations: 43.91 kB / 0.5611 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.35, allocations: 72.86 kB / 0.5611 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.35, allocations: 4 kB / 0.5612 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.3521, allocations: 1.797 MB / 0.5629 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3522, allocations: 3.984 kB / 0.5629 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/0.353, allocations: 463.4 kB / 0.5634 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.3531, allocations: 23.86 kB / 0.5634 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3531, allocations: 8.125 kB / 0.5634 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3532, allocations: 15.98 kB / 0.5634 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.3533, allocations: 31.7 kB / 0.5634 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3533, allocations: 8.031 kB / 0.5634 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.3535, allocations: 151.4 kB / 0.5636 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3535, allocations: 0 / 0.5636 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005608/0.3541, allocations: 84 kB / 0.5637 GB, free: 13.54 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.001126/0.3552, allocations: 0.9926 MB / 0.5646 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.3561, allocations: 410.9 kB / 0.565 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3561, allocations: 0 / 0.565 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.3566, allocations: 281.6 kB / 0.5653 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.357, allocations: 46.98 kB / 0.5653 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.3611, allocations: 3.011 MB / 0.5683 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.3616, allocations: 0.8101 MB / 0.5691 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.3618, allocations: 53.91 kB / 0.5691 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3619, allocations: 83.41 kB / 0.5692 GB, free: 7.605 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3619, allocations: 3.938 kB / 0.5692 GB, free: 7.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.3974, allocations: 6.039 MB / 0.5751 GB, free: 1.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.15, allocations: 6.953 kB / 0.5751 GB, free: 1.68 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.011823492000985] Failed to read output from testmodel.py, exit status != 0: 12.25890190499922 12.273786134 11.938070417 Calling exit ...