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.001628/0.001628, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001794/0.001794, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.1989/0.1989, allocations: 38.52 MB / 352.5 MB, free: 12.56 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.003295/0.003295, allocations: 64.17 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3372, allocations: 62.47 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006118/0.3433, allocations: 4.495 MB / 0.5464 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3453, allocations: 0.9776 MB / 0.5473 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.3455, allocations: 20.06 kB / 0.5474 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.3457, allocations: 58.36 kB / 0.5474 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.3464, allocations: 240.3 kB / 0.5477 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3467, allocations: 103 kB / 0.5478 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.3474, allocations: 0.4899 MB / 0.5482 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.3477, allocations: 99.98 kB / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.3482, allocations: 238.9 kB / 0.5486 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.3487, allocations: 287.5 kB / 0.5488 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.3488, allocations: 23.25 kB / 0.5488 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.3488, allocations: 23.62 kB / 0.5489 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.349, allocations: 151 kB / 0.549 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3493, allocations: 176.6 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.3498, allocations: 369.7 kB / 0.5495 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3498, allocations: 3.938 kB / 0.5495 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3498, allocations: 1.094 kB / 0.5495 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3498, allocations: 0 / 0.5495 GB, free: 10.74 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.001313/0.3511, allocations: 0.5905 MB / 0.5501 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3512, allocations: 21.06 kB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.933e-05/0.3513, allocations: 64.73 kB / 0.5502 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.3514, allocations: 38.33 kB / 0.5502 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.352, allocations: 322.6 kB / 0.5505 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.352, allocations: 22.53 kB / 0.5506 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.3521, allocations: 28.95 kB / 0.5506 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.3527, allocations: 354.1 kB / 0.5509 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3527, allocations: 0 / 0.5509 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.3527, allocations: 11.59 kB / 0.5509 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3528, allocations: 26.81 kB / 0.551 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.3532, allocations: 241.4 kB / 0.5512 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.3552, allocations: 1.332 MB / 0.5525 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.3556, allocations: 166 kB / 0.5527 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3558, allocations: 89.86 kB / 0.5527 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3559, allocations: 5.203 kB / 0.5527 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3559, allocations: 32.97 kB / 0.5528 GB, free: 8.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.3559, allocations: 4 kB / 0.5528 GB, free: 8.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001486/0.3574, allocations: 0.6169 MB / 0.5534 GB, free: 7.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.3575, allocations: 78.36 kB / 0.5535 GB, free: 7.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.3578, allocations: 301 kB / 0.5537 GB, free: 7.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3578, allocations: 33.77 kB / 0.5538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.358, allocations: 216.4 kB / 0.554 GB, free: 7.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.358, allocations: 58.7 kB / 0.554 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.3581, allocations: 53.47 kB / 0.5541 GB, free: 7.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3583, allocations: 337.7 kB / 0.5544 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3584, allocations: 67.48 kB / 0.5545 GB, free: 6.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3586, allocations: 167.4 kB / 0.5546 GB, free: 6.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.359, allocations: 255 kB / 0.5549 GB, free: 6.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.359, allocations: 1.094 kB / 0.5549 GB, free: 6.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000514/0.3595, allocations: 326.9 kB / 0.5552 GB, free: 6.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3595, allocations: 6.594 kB / 0.5552 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3595, allocations: 7.078 kB / 0.5552 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.3597, allocations: 45.3 kB / 0.5552 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3599, allocations: 57.09 kB / 0.5553 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.3615, allocations: 1.5 MB / 0.5568 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.3617, allocations: 16.52 kB / 0.5568 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3617, allocations: 10.75 kB / 0.5568 GB, free: 4.691 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.0001986/0.3619, allocations: 170.1 kB / 0.557 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3619, allocations: 27.72 kB / 0.557 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.3624, allocations: 234.3 kB / 0.5572 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3624, allocations: 10.17 kB / 0.5572 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3624, allocations: 1.062 kB / 0.5572 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3624, allocations: 5.062 kB / 0.5572 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/0.3633, allocations: 0.6149 MB / 0.5578 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3633, allocations: 0 / 0.5578 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3634, allocations: 19.98 kB / 0.5578 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.3636, allocations: 64.8 kB / 0.5579 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3637, allocations: 4 kB / 0.5579 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.3652, allocations: 1.506 MB / 0.5594 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3652, allocations: 0 / 0.5594 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.3658, allocations: 411.8 kB / 0.5598 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.3659, allocations: 27.84 kB / 0.5598 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.3659, allocations: 4.109 kB / 0.5598 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.366, allocations: 12 kB / 0.5598 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.3661, allocations: 11.97 kB / 0.5598 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3661, allocations: 11.94 kB / 0.5598 GB, free: 1.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.3663, allocations: 211.1 kB / 0.56 GB, free: 1.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3663, allocations: 0 / 0.56 GB, free: 1.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.3667, allocations: 64 kB / 0.5601 GB, free: 1.27 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.0009276/0.3677, allocations: 0.9488 MB / 0.561 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007034/0.3684, allocations: 303.5 kB / 0.5613 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3684, allocations: 4 kB / 0.5613 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.3688, allocations: 202.5 kB / 0.5615 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.3693, allocations: 79.89 kB / 0.5616 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.3735, allocations: 3.054 MB / 0.5646 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.3739, allocations: 0.8065 MB / 0.5654 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.3741, allocations: 46.95 kB / 0.5654 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3742, allocations: 107.3 kB / 0.5655 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3742, allocations: 0 / 0.5655 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.4162, allocations: 6.309 MB / 0.5717 GB, free: 5.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.16, allocations: 2.656 kB / 0.5717 GB, free: 5.285 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.048333298997022] Failed to read output from testmodel.py, exit status != 0: 12.272200970997801 12.297722551 11.943188875 Calling exit ...