Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001379/0.001379, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001568/0.001568, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.62/1.62, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2431/0.2431, allocations: 38.53 MB / 352.5 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 179] 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.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.002103/0.002103, allocations: 63.89 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3274, allocations: 62.48 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006015/0.3334, allocations: 4.56 MB / 0.5465 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.3361, allocations: 1.591 MB / 0.548 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3363, allocations: 20.25 kB / 0.548 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.3372, allocations: 302.5 kB / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.3378, allocations: 283.2 kB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006737/0.3385, allocations: 253.8 kB / 0.5488 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007099/0.3392, allocations: 0.608 MB / 0.5494 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.3396, allocations: 197.3 kB / 0.5496 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.3401, allocations: 285.9 kB / 0.5499 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.3406, allocations: 398.8 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.3407, allocations: 39.31 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.3412, allocations: 245.5 kB / 0.5505 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3414, allocations: 240.3 kB / 0.5508 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.3417, allocations: 251.4 kB / 0.551 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.3426, allocations: 0.6775 MB / 0.5517 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3426, allocations: 5.125 kB / 0.5517 GB, free: 9.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3426, allocations: 3.938 kB / 0.5517 GB, free: 9.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3426, allocations: 0 / 0.5517 GB, free: 9.211 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001515/0.3441, allocations: 0.7116 MB / 0.5524 GB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3441, allocations: 17.94 kB / 0.5524 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.3442, allocations: 80.12 kB / 0.5525 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000782/0.345, allocations: 137.1 kB / 0.5526 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007517/0.3458, allocations: 351.4 kB / 0.5529 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.3458, allocations: 24.78 kB / 0.553 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.346, allocations: 52.25 kB / 0.553 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.347, allocations: 0.6983 MB / 0.5537 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.347, allocations: 5.188 kB / 0.5537 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.3471, allocations: 14.94 kB / 0.5537 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/0.3473, allocations: 67.5 kB / 0.5538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3484, allocations: 0.6654 MB / 0.5544 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.3524, allocations: 2.572 MB / 0.5569 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.353, allocations: 301.2 kB / 0.5572 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.3533, allocations: 197.7 kB / 0.5574 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.3533, allocations: 11.92 kB / 0.5574 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.3534, allocations: 42.56 kB / 0.5575 GB, free: 4.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.3534, allocations: 0 / 0.5575 GB, free: 4.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002177/0.3555, allocations: 1.225 MB / 0.5587 GB, free: 3.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.3556, allocations: 89.03 kB / 0.5587 GB, free: 3.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.3559, allocations: 292.5 kB / 0.559 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.356, allocations: 37.69 kB / 0.5591 GB, free: 2.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.3561, allocations: 260.2 kB / 0.5593 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3563, allocations: 138.8 kB / 0.5594 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.3564, allocations: 90.08 kB / 0.5595 GB, free: 2.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3566, allocations: 350.7 kB / 0.5599 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.3569, allocations: 184.8 kB / 0.56 GB, free: 1.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.3573, allocations: 328.9 kB / 0.5604 GB, free: 1.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008043/0.3581, allocations: 0.5468 MB / 0.5609 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3581, allocations: 0 / 0.5609 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001299/0.3594, allocations: 0.6899 MB / 0.5616 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3594, allocations: 4 kB / 0.5616 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008708/0.3603, allocations: 487.4 kB / 0.562 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.3608, allocations: 109.9 kB / 0.5621 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.3611, allocations: 83.89 kB / 0.5622 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.3643, allocations: 3.063 MB / 0.5652 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.3646, allocations: 27.92 kB / 0.5652 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.3646, allocations: 20 kB / 0.5652 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.3649, allocations: 205.7 kB / 0.5654 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.365, allocations: 35.77 kB / 0.5655 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/0.3658, allocations: 476.7 kB / 0.5659 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.3658, allocations: 19.97 kB / 0.566 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3658, allocations: 7.875 kB / 0.566 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3658, allocations: 0 / 0.566 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.3674, allocations: 0.9872 MB / 0.5669 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3674, allocations: 0 / 0.5669 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.3678, allocations: 71.95 kB / 0.567 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3678, allocations: 7.938 kB / 0.567 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.3678, allocations: 4 kB / 0.567 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3678, allocations: 4 kB / 0.567 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3678, allocations: 0 / 0.567 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.3689, allocations: 0.7441 MB / 0.5677 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3691, allocations: 67.66 kB / 0.5678 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.3692, allocations: 11.98 kB / 0.5678 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3694, allocations: 19.97 kB / 0.5678 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.3694, allocations: 19.91 kB / 0.5678 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3694, allocations: 15.98 kB / 0.5679 GB, free: 9.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.3697, allocations: 203.1 kB / 0.5681 GB, free: 8.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3697, allocations: 0 / 0.5681 GB, free: 8.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005854/0.3703, allocations: 112 kB / 0.5682 GB, free: 8.871 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.001595/0.3719, allocations: 1.324 MB / 0.5695 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.373, allocations: 0.6876 MB / 0.5701 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.373, allocations: 0 / 0.5701 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.3733, allocations: 200 kB / 0.5703 GB, free: 6.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.3739, allocations: 75.5 kB / 0.5704 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/0.3804, allocations: 4.396 MB / 0.5747 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.3811, allocations: 0.8781 MB / 0.5755 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.3814, allocations: 103.2 kB / 0.5756 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.3816, allocations: 143.4 kB / 0.5758 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3816, allocations: 4 kB / 0.5758 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/0.4354, allocations: 8.645 MB / 0.5842 GB, free: 8.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.27, allocations: 10.45 kB / 0.5842 GB, free: 8.242 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source_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_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.459128625006997] Failed to read output from testmodel.py, exit status != 0: 12.381027217998053 12.398382321 12.052495841 Calling exit ...