Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001368/0.001368, 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.001479/0.001479, allocations: 212.6 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1875/0.1875, allocations: 38.56 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.002095/0.002095, allocations: 63.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006349/0.3339, allocations: 4.472 MB / 0.5463 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.3365, allocations: 1.407 MB / 0.5477 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.3367, allocations: 16.69 kB / 0.5477 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.3378, allocations: 379.8 kB / 0.5481 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.3384, allocations: 242.5 kB / 0.5483 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.3391, allocations: 260.6 kB / 0.5485 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000664/0.3398, allocations: 0.5598 MB / 0.5491 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.3402, allocations: 239 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.3407, allocations: 284.8 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.3412, allocations: 319.1 kB / 0.5499 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.3413, allocations: 35.06 kB / 0.5499 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.3416, allocations: 150.2 kB / 0.5501 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.3418, allocations: 237.9 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3421, allocations: 204 kB / 0.5505 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.3428, allocations: 0.6118 MB / 0.5511 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3428, allocations: 0 / 0.5511 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3428, allocations: 4 kB / 0.5511 GB, free: 9.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3429, allocations: 1.031 kB / 0.5511 GB, free: 9.531 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001471/0.3443, allocations: 0.7126 MB / 0.5518 GB, free: 8.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3444, allocations: 12.86 kB / 0.5518 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.3445, allocations: 92.27 kB / 0.5519 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.3452, allocations: 126.9 kB / 0.552 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.346, allocations: 350.4 kB / 0.5523 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.346, allocations: 30.06 kB / 0.5524 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3462, allocations: 64.78 kB / 0.5524 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3472, allocations: 0.6401 MB / 0.5531 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.3472, allocations: 6.266 kB / 0.5531 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.3472, allocations: 17.69 kB / 0.5531 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.3474, allocations: 32.33 kB / 0.5531 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.3481, allocations: 483.3 kB / 0.5536 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.3517, allocations: 2.853 MB / 0.5564 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.352, allocations: 177 kB / 0.5565 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3522, allocations: 97.73 kB / 0.5566 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3522, allocations: 8 kB / 0.5566 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3522, allocations: 30.56 kB / 0.5567 GB, free: 4.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3522, allocations: 4 kB / 0.5567 GB, free: 4.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001484/0.3537, allocations: 0.7761 MB / 0.5574 GB, free: 4.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.3538, allocations: 85.05 kB / 0.5575 GB, free: 3.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.3542, allocations: 357.5 kB / 0.5578 GB, free: 3.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.3542, allocations: 29.7 kB / 0.5579 GB, free: 3.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.3544, allocations: 315.9 kB / 0.5582 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.3545, allocations: 79.31 kB / 0.5583 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3546, allocations: 86.08 kB / 0.5583 GB, free: 3.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3548, allocations: 350.8 kB / 0.5587 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.355, allocations: 124.8 kB / 0.5588 GB, free: 2.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.3554, allocations: 330.9 kB / 0.5591 GB, free: 2.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.356, allocations: 0.4892 MB / 0.5596 GB, free: 1.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.356, allocations: 7.938 kB / 0.5596 GB, free: 1.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001062/0.3571, allocations: 0.5583 MB / 0.5601 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3571, allocations: 8 kB / 0.5601 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005652/0.3576, allocations: 276.2 kB / 0.5604 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.358, allocations: 80.78 kB / 0.5605 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.3583, allocations: 96.36 kB / 0.5606 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.3601, allocations: 1.612 MB / 0.5621 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.3604, allocations: 19.94 kB / 0.5622 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.3605, allocations: 27.98 kB / 0.5622 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.3607, allocations: 213.5 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.3608, allocations: 39.86 kB / 0.5624 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.3613, allocations: 291.8 kB / 0.5627 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3613, allocations: 4 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.3613, allocations: 0 / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3613, allocations: 7.984 kB / 0.5627 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.3626, allocations: 0.7388 MB / 0.5634 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3627, allocations: 4 kB / 0.5634 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.3631, allocations: 59.97 kB / 0.5635 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3631, allocations: 4 kB / 0.5635 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3631, allocations: 7.984 kB / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3631, allocations: 0 / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3631, allocations: 3.938 kB / 0.5635 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.3637, allocations: 477.6 kB / 0.564 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.3638, allocations: 35.73 kB / 0.564 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.3638, allocations: 15.88 kB / 0.564 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.364, allocations: 11.98 kB / 0.564 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.3641, allocations: 15.97 kB / 0.5641 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3641, allocations: 12 kB / 0.5641 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.3643, allocations: 231.2 kB / 0.5643 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3643, allocations: 0 / 0.5643 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005072/0.3648, allocations: 100 kB / 0.5644 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009591/0.3658, allocations: 1.002 MB / 0.5654 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.3666, allocations: 446.5 kB / 0.5658 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3666, allocations: 0 / 0.5658 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.3667, allocations: 107.9 kB / 0.5659 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.3672, allocations: 69.03 kB / 0.566 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.3727, allocations: 4.003 MB / 0.5699 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.373, allocations: 273.9 kB / 0.5701 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.3733, allocations: 107.2 kB / 0.5702 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.3735, allocations: 155.4 kB / 0.5704 GB, free: 5.969 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3735, allocations: 0 / 0.5704 GB, free: 5.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.4126, allocations: 8.105 MB / 0.5783 GB, free: 14.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.09, allocations: 13.7 kB / 0.5783 GB, free: 14.01 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.962370733730495] Failed to read output from testmodel.py, exit status != 0: 12.201550173107535 12.22710239 11.879520061 Calling exit ...