Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.00147/0.00147, 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.001711/0.001711, allocations: 218.2 kB / 23.73 MB, free: 4.164 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1952/0.1952, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.002357/0.002357, allocations: 69.62 kB / 492.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3096, allocations: 62.46 MB / 0.5419 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006437/0.316, allocations: 4.395 MB / 0.5462 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.3188, allocations: 1.46 MB / 0.5476 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.319, allocations: 23.62 kB / 0.5477 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000865/0.3199, allocations: 282.3 kB / 0.5479 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006031/0.3205, allocations: 270.3 kB / 0.5482 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.3213, allocations: 268 kB / 0.5485 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007585/0.322, allocations: 0.6343 MB / 0.5491 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.3224, allocations: 249.1 kB / 0.5493 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.3229, allocations: 297.6 kB / 0.5496 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.3235, allocations: 407.9 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.044e-05/0.3236, allocations: 42.31 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.3239, allocations: 162.6 kB / 0.5502 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.3243, allocations: 246.2 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.3246, allocations: 231.5 kB / 0.5506 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.3256, allocations: 0.6684 MB / 0.5513 GB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3256, allocations: 0 / 0.5513 GB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3256, allocations: 1.188 kB / 0.5513 GB, free: 9.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3256, allocations: 0 / 0.5513 GB, free: 9.438 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002213/0.3278, allocations: 0.8234 MB / 0.5521 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3279, allocations: 14.17 kB / 0.5521 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.328, allocations: 90.98 kB / 0.5522 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.3287, allocations: 127 kB / 0.5523 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.3299, allocations: 441.7 kB / 0.5527 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.3299, allocations: 34.33 kB / 0.5528 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.33, allocations: 51.86 kB / 0.5528 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.3311, allocations: 0.6832 MB / 0.5535 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.3312, allocations: 2.281 kB / 0.5535 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.3312, allocations: 20.8 kB / 0.5535 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.3313, allocations: 37.06 kB / 0.5535 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.3322, allocations: 0.5193 MB / 0.554 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.3363, allocations: 2.95 MB / 0.5569 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.3369, allocations: 301.2 kB / 0.5572 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3372, allocations: 161.7 kB / 0.5574 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.3372, allocations: 8 kB / 0.5574 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3373, allocations: 46.92 kB / 0.5574 GB, free: 4.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.903e-06/0.3373, allocations: 0 / 0.5574 GB, free: 4.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002146/0.3394, allocations: 1.148 MB / 0.5585 GB, free: 2.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.3395, allocations: 85.23 kB / 0.5586 GB, free: 2.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.34, allocations: 401.4 kB / 0.559 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.34, allocations: 33.64 kB / 0.559 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.3402, allocations: 308 kB / 0.5593 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3403, allocations: 127 kB / 0.5595 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3405, allocations: 98.28 kB / 0.5596 GB, free: 1.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3407, allocations: 354.7 kB / 0.5599 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.341, allocations: 201.1 kB / 0.5601 GB, free: 1.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.3414, allocations: 378.5 kB / 0.5604 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007917/0.3422, allocations: 0.6008 MB / 0.561 GB, free: 164 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3422, allocations: 4 kB / 0.561 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001922/0.3441, allocations: 0.8222 MB / 0.5618 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3442, allocations: 8 kB / 0.5618 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3442, allocations: 8 kB / 0.5619 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.3454, allocations: 270 kB / 0.5621 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.346, allocations: 135.8 kB / 0.5622 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/0.3512, allocations: 3.819 MB / 0.566 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.3516, allocations: 23.98 kB / 0.566 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.3517, allocations: 27.98 kB / 0.566 GB, free: 10.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003338/0.352, allocations: 221.6 kB / 0.5662 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.3521, allocations: 43.78 kB / 0.5663 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.3529, allocations: 485 kB / 0.5667 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3529, allocations: 11.88 kB / 0.5667 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.3529, allocations: 0 / 0.5667 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.353, allocations: 7.969 kB / 0.5668 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.3546, allocations: 0.9595 MB / 0.5677 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3546, allocations: 3.938 kB / 0.5677 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.355, allocations: 87.94 kB / 0.5678 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.355, allocations: 8 kB / 0.5678 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.3551, allocations: 8 kB / 0.5678 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3551, allocations: 4 kB / 0.5678 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3551, allocations: 0 / 0.5678 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3561, allocations: 0.7434 MB / 0.5685 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.3562, allocations: 47.72 kB / 0.5686 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.3563, allocations: 11.98 kB / 0.5686 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.3566, allocations: 15.98 kB / 0.5686 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3566, allocations: 23.95 kB / 0.5686 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.3566, allocations: 16.12 kB / 0.5686 GB, free: 8.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.3569, allocations: 275.1 kB / 0.5689 GB, free: 7.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3569, allocations: 0 / 0.5689 GB, free: 7.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005633/0.3575, allocations: 116 kB / 0.569 GB, free: 7.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[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 (38): * Single equations (assignments): 37 * 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.00139/0.3589, allocations: 1.296 MB / 0.5703 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.3605, allocations: 0.7747 MB / 0.571 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3605, allocations: 0 / 0.571 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.3608, allocations: 189.3 kB / 0.5712 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3613, allocations: 89.69 kB / 0.5713 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009673/0.371, allocations: 5.329 MB / 0.5765 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3714, allocations: 290.4 kB / 0.5768 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003826/0.3717, allocations: 131.3 kB / 0.5769 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.372, allocations: 171.4 kB / 0.5771 GB, free: 15.02 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.372, allocations: 4 kB / 0.5771 GB, free: 15.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/0.4165, allocations: 11.36 MB / 0.5882 GB, free: 3.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.57, allocations: 8 kB / 0.5882 GB, free: 3.836 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.44339420599863] Failed to read output from testmodel.py, exit status != 0: 13.698732135817409 13.714624801 13.38581269 Calling exit ...