Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.0013/0.0013, 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.001511/0.001511, allocations: 210.5 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.511/1.511, 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.1847/0.1847, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",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.00201/0.00201, allocations: 68.52 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005961/0.3449, allocations: 3.874 MB / 0.5457 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3465, allocations: 0.8528 MB / 0.5466 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.3467, allocations: 19.22 kB / 0.5466 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.3469, allocations: 43.44 kB / 0.5466 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.3475, allocations: 173.1 kB / 0.5468 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.3477, allocations: 82.84 kB / 0.5469 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.3482, allocations: 371.8 kB / 0.5472 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3484, allocations: 61.75 kB / 0.5473 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.3487, allocations: 183.6 kB / 0.5474 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.349, allocations: 163.6 kB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.3491, allocations: 18.09 kB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.596e-05/0.3491, allocations: 16.28 kB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3492, allocations: 90.02 kB / 0.5477 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3494, allocations: 104.9 kB / 0.5478 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.3497, allocations: 262.1 kB / 0.5481 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3497, allocations: 0 / 0.5481 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3497, allocations: 0 / 0.5481 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3498, allocations: 0 / 0.5481 GB, free: 11.62 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009452/0.3507, allocations: 0.4888 MB / 0.5485 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3507, allocations: 13.55 kB / 0.5486 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.3508, allocations: 65.31 kB / 0.5486 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.3509, allocations: 30.72 kB / 0.5487 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.3514, allocations: 267.1 kB / 0.5489 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3514, allocations: 17.19 kB / 0.5489 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.3514, allocations: 17.03 kB / 0.5489 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.3519, allocations: 269.3 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3519, allocations: 1.406 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3519, allocations: 7 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3519, allocations: 4.562 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.3522, allocations: 163.2 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.3535, allocations: 1.109 MB / 0.5504 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3537, allocations: 73.33 kB / 0.5505 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.603e-05/0.3538, allocations: 27.72 kB / 0.5505 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3538, allocations: 5.312 kB / 0.5505 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.3539, allocations: 36.22 kB / 0.5506 GB, free: 9.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3539, allocations: 1.531 kB / 0.5506 GB, free: 9.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000957/0.3548, allocations: 344.2 kB / 0.5509 GB, free: 9.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.3549, allocations: 79.23 kB / 0.551 GB, free: 9.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.3552, allocations: 253.7 kB / 0.5512 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3553, allocations: 30.64 kB / 0.5513 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.3555, allocations: 200.2 kB / 0.5514 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.3555, allocations: 27.8 kB / 0.5515 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.3556, allocations: 39.64 kB / 0.5515 GB, free: 8.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3558, allocations: 331.4 kB / 0.5518 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.3559, allocations: 23.2 kB / 0.5519 GB, free: 8.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3561, allocations: 127.4 kB / 0.552 GB, free: 8.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.3563, allocations: 172.1 kB / 0.5521 GB, free: 7.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3563, allocations: 5.094 kB / 0.5521 GB, free: 7.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003387/0.3567, allocations: 178.7 kB / 0.5523 GB, free: 7.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3567, allocations: 14.62 kB / 0.5523 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3567, allocations: 3.344 kB / 0.5523 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.3567, allocations: 8.281 kB / 0.5523 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3569, allocations: 39.83 kB / 0.5524 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.3569, allocations: 8.25 kB / 0.5524 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.357, allocations: 4.625 kB / 0.5524 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.3571, allocations: 11.94 kB / 0.5524 GB, free: 7.781 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.3573, allocations: 147.7 kB / 0.5525 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.3573, allocations: 24.42 kB / 0.5526 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.3575, allocations: 97.84 kB / 0.5527 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3575, allocations: 5.281 kB / 0.5527 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3575, allocations: 1.406 kB / 0.5527 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3575, allocations: 3.984 kB / 0.5527 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.3582, allocations: 389.5 kB / 0.553 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3582, allocations: 1.031 kB / 0.553 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.3583, allocations: 18.08 kB / 0.5531 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3583, allocations: 1.406 kB / 0.5531 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3583, allocations: 9.188 kB / 0.5531 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3583, allocations: 1.188 kB / 0.5531 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3583, allocations: 0 / 0.5531 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3586, allocations: 233.9 kB / 0.5533 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.3587, allocations: 18.58 kB / 0.5533 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3587, allocations: 4.875 kB / 0.5533 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.3588, allocations: 0.9062 kB / 0.5533 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3588, allocations: 8.141 kB / 0.5533 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3588, allocations: 1.625 kB / 0.5533 GB, free: 6.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.359, allocations: 172.9 kB / 0.5535 GB, free: 6.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.359, allocations: 0 / 0.5535 GB, free: 6.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.3593, allocations: 39.31 kB / 0.5535 GB, free: 6.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0005293/0.3599, allocations: 0.7642 MB / 0.5543 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.36, allocations: 80 kB / 0.5543 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.36, allocations: 0 / 0.5543 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.3601, allocations: 32.3 kB / 0.5544 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.3606, allocations: 63.2 kB / 0.5544 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.3639, allocations: 2.315 MB / 0.5567 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.3641, allocations: 154.3 kB / 0.5568 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.3642, allocations: 31.97 kB / 0.5569 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3643, allocations: 70.28 kB / 0.5569 GB, free: 3.871 MB / 398.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3643, allocations: 0 / 0.5569 GB, free: 3.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.3982, allocations: 4.919 MB / 0.5617 GB, free: 15.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.48, allocations: 8 kB / 0.5618 GB, free: 15.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source_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_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.365427008015104] Failed to read output from testmodel.py, exit status != 0: 11.58977192902239 11.616861974 11.262023397 Calling exit ...