Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.001412/0.001412, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001476/0.001476, allocations: 209.6 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.507/1.507, 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.1862/0.1862, allocations: 38.56 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.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",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.002289/0.002289, allocations: 70.39 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3198, allocations: 62.47 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.00767/0.3275, allocations: 5.005 MB / 0.5468 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.3308, allocations: 1.663 MB / 0.5485 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.3313, allocations: 22.12 kB / 0.5485 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3327, allocations: 437.2 kB / 0.5489 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009247/0.3336, allocations: 302.3 kB / 0.5492 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3346, allocations: 365.9 kB / 0.5495 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009782/0.3356, allocations: 0.7837 MB / 0.5503 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.3361, allocations: 304.9 kB / 0.5506 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.3367, allocations: 359 kB / 0.5509 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.3373, allocations: 474.1 kB / 0.5514 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.89e-05/0.3374, allocations: 54.53 kB / 0.5514 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.3378, allocations: 186.5 kB / 0.5516 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.3381, allocations: 287.2 kB / 0.5519 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.3385, allocations: 287.6 kB / 0.5522 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.3395, allocations: 0.8254 MB / 0.553 GB, free: 8.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3395, allocations: 0 / 0.553 GB, free: 8.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3395, allocations: 1.156 kB / 0.553 GB, free: 8.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3395, allocations: 0 / 0.553 GB, free: 8.215 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001789/0.3413, allocations: 0.8607 MB / 0.5538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3413, allocations: 13.42 kB / 0.5538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.3415, allocations: 95.95 kB / 0.5539 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.3426, allocations: 165.2 kB / 0.5541 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3437, allocations: 489.8 kB / 0.5545 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.3437, allocations: 34.5 kB / 0.5546 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.3441, allocations: 141.4 kB / 0.5547 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3454, allocations: 0.8536 MB / 0.5555 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3454, allocations: 4 kB / 0.5555 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.3455, allocations: 20 kB / 0.5556 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004615/0.346, allocations: 72.92 kB / 0.5556 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.347, allocations: 0.6204 MB / 0.5562 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005008/0.352, allocations: 3.576 MB / 0.5597 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.3531, allocations: 0.5245 MB / 0.5602 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.3536, allocations: 311 kB / 0.5605 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.3537, allocations: 12.36 kB / 0.5605 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.3537, allocations: 42.94 kB / 0.5606 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.3537, allocations: 3.938 kB / 0.5606 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003268/0.357, allocations: 1.77 MB / 0.5623 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.357, allocations: 81.55 kB / 0.5624 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.3575, allocations: 437.6 kB / 0.5628 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.3576, allocations: 37.7 kB / 0.5629 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.3579, allocations: 332.6 kB / 0.5632 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.3581, allocations: 210.2 kB / 0.5634 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.3583, allocations: 154.2 kB / 0.5635 GB, free: 13.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3585, allocations: 370.7 kB / 0.5639 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.3591, allocations: 377.5 kB / 0.5642 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.3598, allocations: 0.598 MB / 0.5648 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.3613, allocations: 1.07 MB / 0.5659 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3613, allocations: 0 / 0.5659 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004559/0.3658, allocations: 1.982 MB / 0.5678 GB, free: 9.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3659, allocations: 8 kB / 0.5678 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3659, allocations: 7.938 kB / 0.5678 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.3683, allocations: 0.9525 MB / 0.5687 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.3688, allocations: 123.8 kB / 0.5689 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.3802, allocations: 7.909 MB / 0.5766 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.3808, allocations: 35.97 kB / 0.5766 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.3809, allocations: 35.94 kB / 0.5767 GB, free: 15.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004137/0.3813, allocations: 249.6 kB / 0.5769 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3814, allocations: 51.67 kB / 0.5769 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.3827, allocations: 0.7216 MB / 0.5776 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3827, allocations: 4.062 kB / 0.5776 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3827, allocations: 12.06 kB / 0.5777 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3828, allocations: 0 / 0.5777 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.3856, allocations: 1.434 MB / 0.5791 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3856, allocations: 3.938 kB / 0.5791 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.3867, allocations: 183.8 kB / 0.5792 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.3867, allocations: 4 kB / 0.5792 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.3867, allocations: 35.92 kB / 0.5793 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.3867, allocations: 4 kB / 0.5793 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3867, allocations: 0 / 0.5793 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.3883, allocations: 0.9994 MB / 0.5803 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.3884, allocations: 55.69 kB / 0.5803 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/0.3885, allocations: 31.98 kB / 0.5803 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.3889, allocations: 23.97 kB / 0.5804 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.389, allocations: 36.36 kB / 0.5804 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.3891, allocations: 16 kB / 0.5804 GB, free: 11.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004621/0.3895, allocations: 283.1 kB / 0.5807 GB, free: 11.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3895, allocations: 0 / 0.5807 GB, free: 11.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001068/0.3906, allocations: 212 kB / 0.5809 GB, free: 11.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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.001826/0.3924, allocations: 1.566 MB / 0.5824 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.3953, allocations: 1.422 MB / 0.5838 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3953, allocations: 0 / 0.5838 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.3957, allocations: 294.3 kB / 0.5841 GB, free: 8.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.3964, allocations: 136.2 kB / 0.5842 GB, free: 7.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.413, allocations: 9.683 MB / 0.5937 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.4135, allocations: 386.6 kB / 0.594 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005325/0.414, allocations: 204.6 kB / 0.5942 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.4144, allocations: 235.3 kB / 0.5945 GB, free: 13.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4144, allocations: 0 / 0.5945 GB, free: 13.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08128/0.4957, allocations: 18.7 MB / 0.6127 GB, free: 10.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.52, allocations: 7.344 kB / 0.6127 GB, free: 10.6 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line_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_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.129958664998412] Failed to read output from testmodel.py, exit status != 0: 12.646395279094577 12.674508634 12.33002209 Calling exit ...