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.001387/0.001387, 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.001485/0.001485, 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.476/1.476, allocations: 230.6 MB / 257.5 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.185/0.185, allocations: 38.52 MB / 352.5 MB, free: 12.53 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.002059/0.002059, allocations: 68.12 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3073, allocations: 62.48 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007055/0.3143, allocations: 5.346 MB / 0.5472 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.3178, allocations: 1.806 MB / 0.549 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.3182, allocations: 21.66 kB / 0.549 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3195, allocations: 463.6 kB / 0.5494 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006921/0.3202, allocations: 298.8 kB / 0.5497 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3213, allocations: 373.4 kB / 0.5501 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3223, allocations: 0.7805 MB / 0.5509 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.3228, allocations: 312.9 kB / 0.5511 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.3233, allocations: 358.6 kB / 0.5515 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006881/0.324, allocations: 486.3 kB / 0.552 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.3241, allocations: 50.81 kB / 0.552 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.3245, allocations: 196.2 kB / 0.5522 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.3248, allocations: 298.1 kB / 0.5525 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.3252, allocations: 336.5 kB / 0.5528 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3262, allocations: 0.8211 MB / 0.5536 GB, free: 7.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3262, allocations: 1.125 kB / 0.5536 GB, free: 7.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3262, allocations: 0 / 0.5536 GB, free: 7.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3262, allocations: 0 / 0.5536 GB, free: 7.785 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.001786/0.328, allocations: 0.8626 MB / 0.5544 GB, free: 7.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.328, allocations: 14.05 kB / 0.5545 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.3282, allocations: 95.72 kB / 0.5545 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.3293, allocations: 173.5 kB / 0.5547 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3304, allocations: 476.4 kB / 0.5552 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.3304, allocations: 42.58 kB / 0.5552 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.3308, allocations: 141.4 kB / 0.5553 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.3321, allocations: 0.8585 MB / 0.5562 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.3321, allocations: 4 kB / 0.5562 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.3322, allocations: 16 kB / 0.5562 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004541/0.3326, allocations: 72.94 kB / 0.5563 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3337, allocations: 0.6282 MB / 0.5569 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.3387, allocations: 3.712 MB / 0.5605 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.3398, allocations: 0.5265 MB / 0.561 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.3403, allocations: 318.8 kB / 0.5613 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.3404, allocations: 12.36 kB / 0.5613 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.3404, allocations: 43 kB / 0.5614 GB, free: 340 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.395e-06/0.3404, allocations: 0 / 0.5614 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003346/0.3438, allocations: 1.769 MB / 0.5631 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.3438, allocations: 89.47 kB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.3443, allocations: 425.8 kB / 0.5636 GB, free: 14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.3444, allocations: 37.83 kB / 0.5636 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.3447, allocations: 324.6 kB / 0.5639 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.3449, allocations: 218.2 kB / 0.5642 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.3451, allocations: 146.2 kB / 0.5643 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3454, allocations: 374.7 kB / 0.5646 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.3459, allocations: 377.5 kB / 0.565 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.3467, allocations: 0.5979 MB / 0.5656 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.3483, allocations: 1.066 MB / 0.5666 GB, free: 10.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3483, allocations: 0 / 0.5666 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004681/0.353, allocations: 1.97 MB / 0.5686 GB, free: 8.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.353, allocations: 10.81 kB / 0.5686 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.353, allocations: 11.94 kB / 0.5686 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.3556, allocations: 0.9652 MB / 0.5695 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.356, allocations: 115.8 kB / 0.5696 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.3679, allocations: 7.995 MB / 0.5774 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.3685, allocations: 35.97 kB / 0.5775 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.3685, allocations: 43.92 kB / 0.5775 GB, free: 15.28 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.0004169/0.369, allocations: 245.6 kB / 0.5777 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3691, allocations: 51.67 kB / 0.5778 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.3704, allocations: 0.7295 MB / 0.5785 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3704, allocations: 4 kB / 0.5785 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3704, allocations: 0 / 0.5785 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.3704, allocations: 3.984 kB / 0.5785 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.3733, allocations: 1.492 MB / 0.58 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3733, allocations: 4 kB / 0.58 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.3744, allocations: 183.9 kB / 0.5802 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.3744, allocations: 4 kB / 0.5802 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.3744, allocations: 31.91 kB / 0.5802 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3744, allocations: 4 kB / 0.5802 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.3745, allocations: 4 kB / 0.5802 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.3759, allocations: 0.9974 MB / 0.5812 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3761, allocations: 51.66 kB / 0.5812 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3762, allocations: 32.05 kB / 0.5813 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.3765, allocations: 23.97 kB / 0.5813 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.3766, allocations: 32.38 kB / 0.5813 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.3766, allocations: 16 kB / 0.5813 GB, free: 11.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.377, allocations: 291.1 kB / 0.5816 GB, free: 10.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.377, allocations: 0 / 0.5816 GB, free: 10.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008725/0.3778, allocations: 212 kB / 0.5818 GB, free: 10.78 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.001848/0.3797, allocations: 1.565 MB / 0.5833 GB, free: 9.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.3824, allocations: 1.422 MB / 0.5847 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3824, allocations: 0.625 kB / 0.5847 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.3829, allocations: 298.4 kB / 0.585 GB, free: 7.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.3836, allocations: 125.6 kB / 0.5851 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/0.4012, allocations: 9.698 MB / 0.5946 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.402, allocations: 0.9843 MB / 0.5956 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005406/0.4025, allocations: 204.6 kB / 0.5957 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/0.4029, allocations: 231.3 kB / 0.596 GB, free: 11.86 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4029, allocations: 0 / 0.596 GB, free: 11.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08714/0.4901, allocations: 18.41 MB / 0.6139 GB, free: 9.598 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.2, allocations: 10.39 kB / 0.614 GB, free: 9.59 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 & /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: 18.09298803890124] Failed to read output from testmodel.py, exit status != 0: 13.31986856693402 13.338887249999999 13.008852322 Calling exit ...