Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001808/0.001808, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002255/0.002255, allocations: 209.3 kB / 23.73 MB, free: 4.379 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1872/0.1872, allocations: 38.54 MB / 352.5 MB, free: 12.31 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.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",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.00281/0.00281, allocations: 67.89 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3519, allocations: 62.47 MB / 0.542 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006325/0.3582, allocations: 4.01 MB / 0.5459 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3598, allocations: 0.834 MB / 0.5467 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.3599, allocations: 18.66 kB / 0.5467 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.3601, allocations: 51.03 kB / 0.5467 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.3606, allocations: 172 kB / 0.5469 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3608, allocations: 81.14 kB / 0.547 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.3614, allocations: 397.2 kB / 0.5474 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.3616, allocations: 76.56 kB / 0.5474 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.362, allocations: 190.1 kB / 0.5476 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.3624, allocations: 198.5 kB / 0.5478 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.3624, allocations: 20.59 kB / 0.5478 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.244e-05/0.3625, allocations: 20.28 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3626, allocations: 85.09 kB / 0.5479 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3628, allocations: 114.9 kB / 0.548 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.3632, allocations: 287.2 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3632, allocations: 0 / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3632, allocations: 1.094 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3632, allocations: 0 / 0.5483 GB, free: 11.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001131/0.3644, allocations: 0.5329 MB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3644, allocations: 18.36 kB / 0.5489 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.3645, allocations: 57.7 kB / 0.5489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.3646, allocations: 31.47 kB / 0.5489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.3652, allocations: 284.7 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3652, allocations: 17.81 kB / 0.5492 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3653, allocations: 38.31 kB / 0.5493 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3658, allocations: 292.7 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3658, allocations: 1.531 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.3658, allocations: 9.5 kB / 0.5496 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3658, allocations: 5.969 kB / 0.5496 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3661, allocations: 186.8 kB / 0.5497 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.3678, allocations: 1.185 MB / 0.5509 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3681, allocations: 118.8 kB / 0.551 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.3682, allocations: 45.09 kB / 0.5511 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3682, allocations: 1.062 kB / 0.5511 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.3683, allocations: 38.12 kB / 0.5511 GB, free: 9.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.3683, allocations: 0 / 0.5511 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009679/0.3692, allocations: 476.5 kB / 0.5515 GB, free: 8.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.3693, allocations: 105.1 kB / 0.5516 GB, free: 8.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.3696, allocations: 252.6 kB / 0.5519 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3696, allocations: 30.92 kB / 0.5519 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3697, allocations: 200.6 kB / 0.5521 GB, free: 8.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.3698, allocations: 37.34 kB / 0.5521 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.3699, allocations: 48.59 kB / 0.5522 GB, free: 8.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.37, allocations: 332 kB / 0.5525 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.3701, allocations: 45.94 kB / 0.5525 GB, free: 7.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3703, allocations: 135.1 kB / 0.5527 GB, free: 7.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.3705, allocations: 191.4 kB / 0.5529 GB, free: 7.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3705, allocations: 1.438 kB / 0.5529 GB, free: 7.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004282/0.3709, allocations: 230.5 kB / 0.5531 GB, free: 7.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.371, allocations: 10.27 kB / 0.5531 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.371, allocations: 3.812 kB / 0.5531 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.3711, allocations: 34.16 kB / 0.5531 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.3714, allocations: 60.33 kB / 0.5532 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.3715, allocations: 4.062 kB / 0.5532 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3716, allocations: 8.375 kB / 0.5532 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3716, allocations: 12.41 kB / 0.5532 GB, free: 7.207 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.3718, allocations: 155 kB / 0.5534 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.3718, allocations: 22.17 kB / 0.5534 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.3721, allocations: 141.1 kB / 0.5535 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.3721, allocations: 10.12 kB / 0.5535 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3721, allocations: 5.031 kB / 0.5535 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3721, allocations: 1.188 kB / 0.5535 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.3725, allocations: 241.8 kB / 0.5538 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3725, allocations: 5.031 kB / 0.5538 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3727, allocations: 30.33 kB / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3727, allocations: 1.188 kB / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3727, allocations: 2.312 kB / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3727, allocations: 5.094 kB / 0.5538 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3727, allocations: 1.156 kB / 0.5538 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.3731, allocations: 372.2 kB / 0.5542 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.3732, allocations: 22.91 kB / 0.5542 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.3732, allocations: 10.34 kB / 0.5542 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3734, allocations: 5.125 kB / 0.5542 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3734, allocations: 7.641 kB / 0.5542 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3734, allocations: 7.625 kB / 0.5542 GB, free: 6.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.3736, allocations: 173 kB / 0.5544 GB, free: 6.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 1.469 kB / 0.5544 GB, free: 6.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.3739, allocations: 43.94 kB / 0.5544 GB, free: 6.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0007097/0.3746, allocations: 0.893 MB / 0.5553 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.375, allocations: 131.7 kB / 0.5554 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.375, allocations: 0 / 0.5554 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3751, allocations: 46.61 kB / 0.5555 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.3756, allocations: 57.19 kB / 0.5555 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.3793, allocations: 2.627 MB / 0.5581 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3796, allocations: 162.8 kB / 0.5582 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.3797, allocations: 30.3 kB / 0.5583 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.3799, allocations: 91.39 kB / 0.5584 GB, free: 2.707 MB / 398.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3799, allocations: 4 kB / 0.5584 GB, free: 2.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.4244, allocations: 5.62 MB / 0.5638 GB, free: 13.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 4 kB / 0.5638 GB, free: 13.24 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000270051 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.15855964802904] Failed to read output from testmodel.py, exit status != 0: 12.234492792980745 12.255993869 11.888097105 Calling exit ...