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.001772/0.001772, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002385/0.002385, allocations: 209 kB / 23.73 MB, free: 4.523 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.515/1.515, 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.1837/0.1837, allocations: 38.55 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.002021/0.002021, allocations: 63.91 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3313, allocations: 62.46 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006532/0.3379, allocations: 4.265 MB / 0.5461 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3396, allocations: 0.9064 MB / 0.547 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.3398, allocations: 15.88 kB / 0.547 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.34, allocations: 57.23 kB / 0.5471 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006347/0.3407, allocations: 244.8 kB / 0.5473 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3409, allocations: 99.14 kB / 0.5474 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005531/0.3415, allocations: 0.4952 MB / 0.5479 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.3417, allocations: 99.3 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.3421, allocations: 245.6 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.3426, allocations: 280.6 kB / 0.5485 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.3427, allocations: 26.53 kB / 0.5485 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.3427, allocations: 24.12 kB / 0.5485 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.3429, allocations: 147.3 kB / 0.5487 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.3431, allocations: 156.9 kB / 0.5488 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.3435, allocations: 373.1 kB / 0.5492 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3435, allocations: 0 / 0.5492 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3436, allocations: 1.25 kB / 0.5492 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3436, allocations: 0 / 0.5492 GB, free: 10.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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001232/0.3448, allocations: 0.5853 MB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3448, allocations: 12.98 kB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/0.3449, allocations: 72.31 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.345, allocations: 38.95 kB / 0.5499 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.3456, allocations: 318.4 kB / 0.5502 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3457, allocations: 26.95 kB / 0.5502 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.3457, allocations: 24.66 kB / 0.5502 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.3463, allocations: 352.4 kB / 0.5505 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3463, allocations: 0 / 0.5505 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.3463, allocations: 11 kB / 0.5506 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.3465, allocations: 30.5 kB / 0.5506 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.3469, allocations: 237.5 kB / 0.5508 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.3487, allocations: 1.277 MB / 0.5521 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.3491, allocations: 168.9 kB / 0.5522 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.3493, allocations: 89.73 kB / 0.5523 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3493, allocations: 2.188 kB / 0.5523 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3494, allocations: 40.97 kB / 0.5523 GB, free: 8.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.3494, allocations: 0 / 0.5523 GB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001499/0.3509, allocations: 0.6209 MB / 0.5529 GB, free: 7.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3509, allocations: 79.2 kB / 0.553 GB, free: 7.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.3513, allocations: 297.4 kB / 0.5533 GB, free: 7.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3513, allocations: 33.64 kB / 0.5533 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3515, allocations: 225 kB / 0.5536 GB, free: 7.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.3515, allocations: 58.61 kB / 0.5536 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.3516, allocations: 52.41 kB / 0.5537 GB, free: 7.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3518, allocations: 343.1 kB / 0.554 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3519, allocations: 63.64 kB / 0.554 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.3521, allocations: 166.8 kB / 0.5542 GB, free: 6.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.3524, allocations: 256.4 kB / 0.5545 GB, free: 6.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3524, allocations: 1.094 kB / 0.5545 GB, free: 6.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005366/0.353, allocations: 319.2 kB / 0.5548 GB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.353, allocations: 6.906 kB / 0.5548 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.353, allocations: 11.23 kB / 0.5548 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.3532, allocations: 49.7 kB / 0.5548 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.3534, allocations: 53.38 kB / 0.5549 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.3549, allocations: 1.498 MB / 0.5563 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3551, allocations: 13.64 kB / 0.5563 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3551, allocations: 17.09 kB / 0.5564 GB, free: 4.926 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.0002129/0.3553, allocations: 170.4 kB / 0.5565 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.3554, allocations: 25.11 kB / 0.5566 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.3558, allocations: 245.2 kB / 0.5568 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3559, allocations: 0 / 0.5568 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3559, allocations: 8.094 kB / 0.5568 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3559, allocations: 0 / 0.5568 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009792/0.3568, allocations: 0.596 MB / 0.5574 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3568, allocations: 0 / 0.5574 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.357, allocations: 27.92 kB / 0.5574 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.3572, allocations: 56.8 kB / 0.5575 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.3572, allocations: 7.984 kB / 0.5575 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.3587, allocations: 1.498 MB / 0.5589 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3587, allocations: 0 / 0.5589 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.3592, allocations: 404.3 kB / 0.5593 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.3593, allocations: 35.83 kB / 0.5593 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3593, allocations: 4 kB / 0.5594 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3595, allocations: 4 kB / 0.5594 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3595, allocations: 19.91 kB / 0.5594 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3595, allocations: 8.219 kB / 0.5594 GB, free: 1.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.3598, allocations: 211.1 kB / 0.5596 GB, free: 1.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 0.5596 GB, free: 1.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.3602, allocations: 64 kB / 0.5596 GB, free: 1.426 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.0009821/0.3612, allocations: 0.941 MB / 0.5606 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.3618, allocations: 303.3 kB / 0.5609 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3618, allocations: 4 kB / 0.5609 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3621, allocations: 198.6 kB / 0.561 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.3626, allocations: 75.72 kB / 0.5611 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.3667, allocations: 3.066 MB / 0.5641 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3669, allocations: 199.5 kB / 0.5643 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.367, allocations: 34.97 kB / 0.5643 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.3672, allocations: 107.4 kB / 0.5644 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3672, allocations: 0 / 0.5644 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.4078, allocations: 6.879 MB / 0.5712 GB, free: 5.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.17, allocations: 7.922 kB / 0.5712 GB, free: 5.535 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.052464254025836] Failed to read output from testmodel.py, exit status != 0: 12.288297149003483 12.311386132 11.964529133 Calling exit ...