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.00128/0.00128, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001463/0.001463, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 8 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.1887/0.1887, allocations: 38.52 MB / 353.2 MB, free: 12.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="cs",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.002017/0.002017, allocations: 63.91 kB / 493.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 62.46 MB / 0.5428 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007926/0.3229, allocations: 5.351 MB / 0.548 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.3266, allocations: 1.814 MB / 0.5498 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.327, allocations: 25.62 kB / 0.5498 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3283, allocations: 463 kB / 0.5502 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.3291, allocations: 299 kB / 0.5505 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.3302, allocations: 369.3 kB / 0.5509 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.3313, allocations: 0.7808 MB / 0.5516 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.3318, allocations: 311.9 kB / 0.5519 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006217/0.3325, allocations: 351.2 kB / 0.5523 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007511/0.3332, allocations: 499.5 kB / 0.5527 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.3333, allocations: 49.5 kB / 0.5528 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.3337, allocations: 196.4 kB / 0.553 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.334, allocations: 294.1 kB / 0.5532 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.3344, allocations: 335.9 kB / 0.5536 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.3354, allocations: 0.822 MB / 0.5544 GB, free: 7.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3354, allocations: 0 / 0.5544 GB, free: 7.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3354, allocations: 1.406 kB / 0.5544 GB, free: 7.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3354, allocations: 0 / 0.5544 GB, free: 7.59 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.00181/0.3373, allocations: 0.8632 MB / 0.5552 GB, free: 6.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3373, allocations: 12.67 kB / 0.5552 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.241e-05/0.3373, allocations: 12.84 kB / 0.5552 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.3374, allocations: 100.6 kB / 0.5553 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.3387, allocations: 165 kB / 0.5555 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3398, allocations: 488.9 kB / 0.556 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.3399, allocations: 34.59 kB / 0.556 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004051/0.3403, allocations: 124.7 kB / 0.5561 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.3418, allocations: 0.8688 MB / 0.557 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.3418, allocations: 3.938 kB / 0.557 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.3419, allocations: 16 kB / 0.557 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004711/0.3423, allocations: 76.92 kB / 0.5571 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3434, allocations: 0.6283 MB / 0.5577 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005475/0.3489, allocations: 3.712 MB / 0.5613 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.3501, allocations: 0.5303 MB / 0.5618 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.3506, allocations: 310.9 kB / 0.5621 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.3507, allocations: 16.41 kB / 0.5621 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3507, allocations: 39 kB / 0.5622 GB, free: 128 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 3.707e-06/0.3507, allocations: 0 / 0.5622 GB, free: 128 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003553/0.3543, allocations: 1.77 MB / 0.5639 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.3543, allocations: 89.55 kB / 0.564 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.3548, allocations: 425.9 kB / 0.5644 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.3549, allocations: 33.7 kB / 0.5644 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3552, allocations: 328.5 kB / 0.5647 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.3554, allocations: 210.3 kB / 0.5649 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.3556, allocations: 150.2 kB / 0.5651 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.3558, allocations: 374.7 kB / 0.5654 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.3564, allocations: 377.5 kB / 0.5658 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.3572, allocations: 0.5979 MB / 0.5664 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.3587, allocations: 1.066 MB / 0.5674 GB, free: 10.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3587, allocations: 4 kB / 0.5674 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004694/0.3634, allocations: 1.97 MB / 0.5693 GB, free: 8.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3634, allocations: 11.94 kB / 0.5693 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3634, allocations: 4 kB / 0.5694 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.366, allocations: 0.9654 MB / 0.5703 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.3665, allocations: 119.8 kB / 0.5704 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.3792, allocations: 7.999 MB / 0.5782 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/0.38, allocations: 39.91 kB / 0.5783 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.38, allocations: 32 kB / 0.5783 GB, free: 15.07 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.0004949/0.3805, allocations: 251.9 kB / 0.5785 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3807, allocations: 51.67 kB / 0.5786 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.382, allocations: 0.7217 MB / 0.5793 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.382, allocations: 8 kB / 0.5793 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.382, allocations: 0 / 0.5793 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.382, allocations: 7.922 kB / 0.5793 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.3848, allocations: 1.496 MB / 0.5808 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3848, allocations: 0 / 0.5808 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.3858, allocations: 179.8 kB / 0.5809 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.3859, allocations: 7.938 kB / 0.5809 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.3859, allocations: 36.03 kB / 0.581 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.3859, allocations: 4 kB / 0.581 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3859, allocations: 3.938 kB / 0.581 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3874, allocations: 0.9973 MB / 0.582 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3875, allocations: 51.66 kB / 0.582 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/0.3876, allocations: 27.98 kB / 0.582 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.388, allocations: 27.97 kB / 0.5821 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.388, allocations: 40.31 kB / 0.5821 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.3881, allocations: 16 kB / 0.5821 GB, free: 11.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.3884, allocations: 283.1 kB / 0.5824 GB, free: 10.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3884, allocations: 0 / 0.5824 GB, free: 10.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009174/0.3893, allocations: 212 kB / 0.5826 GB, free: 10.57 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.001912/0.3912, allocations: 1.558 MB / 0.5841 GB, free: 8.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.3941, allocations: 1.426 MB / 0.5855 GB, free: 7.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.3941, allocations: 4.125 kB / 0.5855 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004723/0.3946, allocations: 294.3 kB / 0.5858 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.3953, allocations: 128.7 kB / 0.5859 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.4133, allocations: 9.698 MB / 0.5954 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.414, allocations: 0.9843 MB / 0.5963 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005464/0.4146, allocations: 204.5 kB / 0.5965 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.415, allocations: 231.4 kB / 0.5968 GB, free: 11.65 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.415, allocations: 0 / 0.5968 GB, free: 11.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.4685, allocations: 18.43 MB / 0.6148 GB, free: 9.379 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.36, allocations: 7.188 kB / 0.6148 GB, free: 9.375 MB / 462.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 16.60229289898416] Failed to read output from testmodel.py, exit status != 0: 13.537342384050135 13.565380614 13.22471341 Calling exit ...