Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001939/0.001939, 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.002843/0.002843, allocations: 213.6 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2031/0.2031, allocations: 38.54 MB / 352.5 MB, free: 12.32 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.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_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.002509/0.002509, allocations: 63.89 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3493, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006337/0.3556, allocations: 4.262 MB / 0.5461 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3576, allocations: 0.9058 MB / 0.547 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.3578, allocations: 19.75 kB / 0.547 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3581, allocations: 58.45 kB / 0.5471 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006962/0.3588, allocations: 244 kB / 0.5473 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3591, allocations: 98.94 kB / 0.5474 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.3598, allocations: 0.4951 MB / 0.5479 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.36, allocations: 96.42 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.3606, allocations: 242.6 kB / 0.5482 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.3612, allocations: 270.4 kB / 0.5485 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.3612, allocations: 23.91 kB / 0.5485 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.3613, allocations: 24.31 kB / 0.5485 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.3615, allocations: 150.7 kB / 0.5486 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.3617, allocations: 149 kB / 0.5488 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.3623, allocations: 373 kB / 0.5491 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3623, allocations: 0 / 0.5491 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3623, allocations: 3.938 kB / 0.5491 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.3623, allocations: 1.344 kB / 0.5491 GB, free: 10.93 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001189/0.3635, allocations: 0.5926 MB / 0.5497 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3635, allocations: 13.02 kB / 0.5497 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.456e-05/0.3636, allocations: 64.48 kB / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.3637, allocations: 38.73 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.3643, allocations: 326.2 kB / 0.5502 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.3643, allocations: 23.31 kB / 0.5502 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.3644, allocations: 24.84 kB / 0.5502 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.365, allocations: 352.2 kB / 0.5505 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.365, allocations: 0 / 0.5505 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.365, allocations: 15.42 kB / 0.5505 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.3651, allocations: 22.45 kB / 0.5506 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.3655, allocations: 241 kB / 0.5508 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3674, allocations: 1.281 MB / 0.552 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.3678, allocations: 156.5 kB / 0.5522 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.368, allocations: 93.89 kB / 0.5523 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.368, allocations: 6.234 kB / 0.5523 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.368, allocations: 32.75 kB / 0.5523 GB, free: 8.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.368, allocations: 0 / 0.5523 GB, free: 8.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001326/0.3693, allocations: 0.6291 MB / 0.5529 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.3694, allocations: 79.92 kB / 0.553 GB, free: 7.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.3697, allocations: 295.7 kB / 0.5533 GB, free: 7.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.3698, allocations: 30.77 kB / 0.5533 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3699, allocations: 224.9 kB / 0.5535 GB, free: 7.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.37, allocations: 54.31 kB / 0.5536 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.3701, allocations: 52.72 kB / 0.5536 GB, free: 7.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3703, allocations: 345.9 kB / 0.554 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3704, allocations: 68.31 kB / 0.554 GB, free: 6.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.3706, allocations: 170.1 kB / 0.5542 GB, free: 6.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.3709, allocations: 255.1 kB / 0.5544 GB, free: 6.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3709, allocations: 1.125 kB / 0.5544 GB, free: 6.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000534/0.3714, allocations: 319.2 kB / 0.5547 GB, free: 6.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3715, allocations: 6 kB / 0.5548 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3715, allocations: 3.719 kB / 0.5548 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.3717, allocations: 49.22 kB / 0.5548 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.3719, allocations: 53.45 kB / 0.5549 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.3734, allocations: 1.501 MB / 0.5563 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3735, allocations: 6.375 kB / 0.5563 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3736, allocations: 17.44 kB / 0.5563 GB, free: 4.949 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 (28): * Single equations (assignments): 27 * 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.0002218/0.3738, allocations: 174.7 kB / 0.5565 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.3738, allocations: 23.73 kB / 0.5565 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.3743, allocations: 241.3 kB / 0.5568 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3743, allocations: 7.938 kB / 0.5568 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3743, allocations: 4.094 kB / 0.5568 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3743, allocations: 0 / 0.5568 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.3752, allocations: 0.5966 MB / 0.5574 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3753, allocations: 7.984 kB / 0.5574 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3754, allocations: 16 kB / 0.5574 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.3756, allocations: 60.78 kB / 0.5574 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3756, allocations: 4 kB / 0.5574 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.377, allocations: 1.502 MB / 0.5589 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.377, allocations: 0 / 0.5589 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.3776, allocations: 414.2 kB / 0.5593 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.3777, allocations: 23.84 kB / 0.5593 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3777, allocations: 8 kB / 0.5593 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3779, allocations: 7.984 kB / 0.5593 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.3779, allocations: 12.2 kB / 0.5594 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3779, allocations: 11.98 kB / 0.5594 GB, free: 1.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.3782, allocations: 211.1 kB / 0.5596 GB, free: 1.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3782, allocations: 0 / 0.5596 GB, free: 1.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.3786, allocations: 68 kB / 0.5596 GB, free: 1.434 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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.0009247/0.3795, allocations: 0.9484 MB / 0.5606 GB, free: 468 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006374/0.3801, allocations: 303.2 kB / 0.5608 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3801, allocations: 0 / 0.5608 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.3805, allocations: 198.6 kB / 0.561 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.381, allocations: 71.73 kB / 0.5611 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.3851, allocations: 3.063 MB / 0.5641 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3854, allocations: 203.5 kB / 0.5643 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3855, allocations: 46.95 kB / 0.5643 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3857, allocations: 103.3 kB / 0.5644 GB, free: 12.26 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3857, allocations: 4 kB / 0.5644 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04121/0.4269, allocations: 6.79 MB / 0.5711 GB, free: 5.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 4 kB / 0.5711 GB, free: 5.629 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.075879097916186] Failed to read output from testmodel.py, exit status != 0: 12.230237265117466 12.246911829 11.881250686 Calling exit ...