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.001458/0.001458, 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.001565/0.001565, allocations: 212.4 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1868/0.1868, allocations: 38.55 MB / 352.5 MB, free: 12.33 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.002111/0.002111, allocations: 59.91 kB / 492.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3424, allocations: 62.46 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007746/0.3501, allocations: 5.012 MB / 0.5468 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004012/0.3541, allocations: 1.659 MB / 0.5485 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.3546, allocations: 22.16 kB / 0.5485 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.3562, allocations: 433 kB / 0.5489 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3572, allocations: 310.6 kB / 0.5492 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3586, allocations: 367 kB / 0.5495 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.36, allocations: 0.7758 MB / 0.5503 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.3607, allocations: 311.2 kB / 0.5506 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007631/0.3614, allocations: 359.7 kB / 0.5509 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3625, allocations: 479.1 kB / 0.5514 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3626, allocations: 49.94 kB / 0.5514 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/0.3633, allocations: 178.4 kB / 0.5516 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.3637, allocations: 290.7 kB / 0.5519 GB, free: 8.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.3641, allocations: 288.6 kB / 0.5522 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.3653, allocations: 0.8292 MB / 0.553 GB, free: 8.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3653, allocations: 0 / 0.553 GB, free: 8.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3653, allocations: 0 / 0.553 GB, free: 8.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.3653, allocations: 4 kB / 0.553 GB, free: 8.238 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.002009/0.3673, allocations: 0.8501 MB / 0.5538 GB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.3674, allocations: 12.86 kB / 0.5538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.3676, allocations: 99.95 kB / 0.5539 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.3688, allocations: 169.7 kB / 0.5541 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.3704, allocations: 485.2 kB / 0.5545 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.3705, allocations: 38.64 kB / 0.5546 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/0.3709, allocations: 133.6 kB / 0.5547 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3727, allocations: 0.858 MB / 0.5555 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.3727, allocations: 11.94 kB / 0.5555 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.061e-05/0.3728, allocations: 16 kB / 0.5556 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004754/0.3733, allocations: 72.94 kB / 0.5556 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.3745, allocations: 0.6205 MB / 0.5562 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006295/0.3808, allocations: 3.58 MB / 0.5597 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.3821, allocations: 0.5199 MB / 0.5602 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.3826, allocations: 311 kB / 0.5605 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.3826, allocations: 12.36 kB / 0.5605 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3826, allocations: 46.88 kB / 0.5606 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.3826, allocations: 4 kB / 0.5606 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003569/0.3862, allocations: 1.772 MB / 0.5623 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.3863, allocations: 85.55 kB / 0.5624 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.3869, allocations: 433.7 kB / 0.5628 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.3869, allocations: 33.7 kB / 0.5629 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.3872, allocations: 336.5 kB / 0.5632 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.3874, allocations: 210.3 kB / 0.5634 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.3877, allocations: 146.4 kB / 0.5635 GB, free: 13.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3879, allocations: 374.7 kB / 0.5639 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.3885, allocations: 381.5 kB / 0.5642 GB, free: 13.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007955/0.3893, allocations: 0.5979 MB / 0.5648 GB, free: 12.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.391, allocations: 1.062 MB / 0.5659 GB, free: 11.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.391, allocations: 8 kB / 0.5659 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004803/0.3958, allocations: 1.974 MB / 0.5678 GB, free: 9.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3958, allocations: 8 kB / 0.5678 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.3959, allocations: 11.94 kB / 0.5678 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/0.3985, allocations: 0.9606 MB / 0.5688 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.399, allocations: 115.8 kB / 0.5689 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.4116, allocations: 7.905 MB / 0.5766 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.4123, allocations: 35.97 kB / 0.5766 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/0.4124, allocations: 35.94 kB / 0.5766 GB, free: 15.87 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.0004605/0.4128, allocations: 249.5 kB / 0.5769 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4129, allocations: 51.73 kB / 0.5769 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.4143, allocations: 0.7256 MB / 0.5776 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.4143, allocations: 11.98 kB / 0.5777 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.4143, allocations: 0 / 0.5777 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4143, allocations: 64 / 0.5777 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.4174, allocations: 1.434 MB / 0.5791 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.4174, allocations: 4 kB / 0.5791 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.4185, allocations: 187.8 kB / 0.5792 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.4185, allocations: 4 kB / 0.5792 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.4185, allocations: 31.92 kB / 0.5793 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.4185, allocations: 4.094 kB / 0.5793 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4186, allocations: 8 kB / 0.5793 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.4202, allocations: 0.9935 MB / 0.5803 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.4204, allocations: 55.59 kB / 0.5803 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4205, allocations: 27.98 kB / 0.5803 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.4209, allocations: 23.97 kB / 0.5804 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.4209, allocations: 32.38 kB / 0.5804 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.421, allocations: 16 kB / 0.5804 GB, free: 11.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.4213, allocations: 283.1 kB / 0.5807 GB, free: 11.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4213, allocations: 0 / 0.5807 GB, free: 11.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001035/0.4224, allocations: 212 kB / 0.5809 GB, free: 11.43 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.001944/0.4243, allocations: 1.566 MB / 0.5824 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.4274, allocations: 1.426 MB / 0.5838 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4274, allocations: 0 / 0.5838 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.428, allocations: 303 kB / 0.5841 GB, free: 8.082 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.4288, allocations: 129.5 kB / 0.5842 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/0.4472, allocations: 9.674 MB / 0.5937 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.4479, allocations: 386.5 kB / 0.594 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007095/0.4486, allocations: 208.6 kB / 0.5942 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.4491, allocations: 231.4 kB / 0.5944 GB, free: 13.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.552e-06/0.4491, allocations: 0 / 0.5944 GB, free: 13.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/0.5072, allocations: 18.71 MB / 0.6127 GB, free: 10.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.65, allocations: 9.078 kB / 0.6127 GB, free: 10.62 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: 17.79983556084335] Failed to read output from testmodel.py, exit status != 0: 12.778233257122338 12.806672704 12.43583791 Calling exit ...