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.001293/0.001293, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001402/0.001402, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.486/1.486, 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.1883/0.1883, allocations: 38.55 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.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.002086/0.002086, allocations: 71.88 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3093, allocations: 62.47 MB / 0.5419 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006486/0.3158, allocations: 4.317 MB / 0.5462 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.3186, allocations: 1.469 MB / 0.5476 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.3188, allocations: 15.34 kB / 0.5476 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.3197, allocations: 291 kB / 0.5479 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006565/0.3204, allocations: 284.9 kB / 0.5482 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.3211, allocations: 250.2 kB / 0.5484 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.3218, allocations: 0.6149 MB / 0.549 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.3221, allocations: 194.5 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.3226, allocations: 285.3 kB / 0.5494 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.3231, allocations: 394.2 kB / 0.5498 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.3232, allocations: 38.84 kB / 0.5499 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.3237, allocations: 232.7 kB / 0.5501 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.3239, allocations: 240.4 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3241, allocations: 203.5 kB / 0.5505 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008175/0.325, allocations: 0.6963 MB / 0.5512 GB, free: 9.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.325, allocations: 0 / 0.5512 GB, free: 9.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.325, allocations: 0 / 0.5512 GB, free: 9.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.325, allocations: 1.125 kB / 0.5512 GB, free: 9.469 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.001472/0.3264, allocations: 0.71 MB / 0.5519 GB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3265, allocations: 12.95 kB / 0.5519 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.3266, allocations: 88.67 kB / 0.552 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007962/0.3274, allocations: 125.3 kB / 0.5521 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.3282, allocations: 359.9 kB / 0.5524 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.3283, allocations: 24.72 kB / 0.5525 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3284, allocations: 52.42 kB / 0.5525 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.3295, allocations: 0.6963 MB / 0.5532 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3296, allocations: 1.125 kB / 0.5532 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.3296, allocations: 20.48 kB / 0.5532 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/0.3298, allocations: 67.66 kB / 0.5533 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3309, allocations: 0.6622 MB / 0.5539 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.3349, allocations: 2.492 MB / 0.5564 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.3354, allocations: 285.3 kB / 0.5566 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.3357, allocations: 189.7 kB / 0.5568 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.3358, allocations: 8 kB / 0.5568 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.3358, allocations: 34.56 kB / 0.5569 GB, free: 4.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.354e-06/0.3358, allocations: 0 / 0.5569 GB, free: 4.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002162/0.338, allocations: 1.237 MB / 0.5581 GB, free: 3.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.338, allocations: 85.23 kB / 0.5581 GB, free: 3.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.3384, allocations: 304.3 kB / 0.5584 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3384, allocations: 29.7 kB / 0.5585 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3386, allocations: 256.2 kB / 0.5587 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3387, allocations: 142.8 kB / 0.5588 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3389, allocations: 86.06 kB / 0.5589 GB, free: 2.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.339, allocations: 354.7 kB / 0.5593 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3393, allocations: 184.8 kB / 0.5594 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3397, allocations: 328.9 kB / 0.5598 GB, free: 1.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/0.3406, allocations: 0.5546 MB / 0.5603 GB, free: 0.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3406, allocations: 0 / 0.5603 GB, free: 0.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001283/0.3419, allocations: 0.6743 MB / 0.561 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3419, allocations: 8 kB / 0.561 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000888/0.3428, allocations: 487.4 kB / 0.5614 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.3433, allocations: 113.6 kB / 0.5615 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.3436, allocations: 76.14 kB / 0.5616 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.3468, allocations: 3.067 MB / 0.5646 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.3471, allocations: 19.98 kB / 0.5646 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.3472, allocations: 20.12 kB / 0.5646 GB, free: 12.25 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.0003029/0.3475, allocations: 217.6 kB / 0.5648 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.3476, allocations: 35.77 kB / 0.5649 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/0.3483, allocations: 464.6 kB / 0.5653 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/0.3484, allocations: 19.98 kB / 0.5653 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3484, allocations: 3.938 kB / 0.5653 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3484, allocations: 3.938 kB / 0.5653 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.3499, allocations: 0.956 MB / 0.5663 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3499, allocations: 4 kB / 0.5663 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.3503, allocations: 67.89 kB / 0.5664 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.3503, allocations: 7.938 kB / 0.5664 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3503, allocations: 4 kB / 0.5664 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3503, allocations: 0 / 0.5664 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3503, allocations: 4 kB / 0.5664 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3514, allocations: 0.7481 MB / 0.5671 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.3516, allocations: 63.81 kB / 0.5672 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.3516, allocations: 20.03 kB / 0.5672 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3518, allocations: 23.92 kB / 0.5672 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.3519, allocations: 23.95 kB / 0.5672 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.3519, allocations: 8 kB / 0.5672 GB, free: 9.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.3522, allocations: 207.1 kB / 0.5674 GB, free: 9.293 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3522, allocations: 0 / 0.5674 GB, free: 9.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005891/0.3527, allocations: 111.9 kB / 0.5675 GB, free: 9.184 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.001549/0.3543, allocations: 1.324 MB / 0.5688 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3556, allocations: 0.6788 MB / 0.5695 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3556, allocations: 1.125 kB / 0.5695 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.3558, allocations: 199.8 kB / 0.5697 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.3564, allocations: 64.8 kB / 0.5697 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.3624, allocations: 4.399 MB / 0.574 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3628, allocations: 278.1 kB / 0.5743 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.3631, allocations: 107.2 kB / 0.5744 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.3633, allocations: 143.4 kB / 0.5745 GB, free: 1.699 MB / 414.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3633, allocations: 3.938 kB / 0.5745 GB, free: 1.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.4059, allocations: 9.087 MB / 0.5834 GB, free: 8.785 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 0 / 0.5834 GB, free: 8.785 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: 14.952297527983319] Failed to read output from testmodel.py, exit status != 0: 12.167967879970092 12.184080866 11.855834915 Calling exit ...