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.001395/0.001395, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001604/0.001604, allocations: 215.6 kB / 24.48 MB, free: 3.836 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.1876/0.1876, allocations: 38.56 MB / 353.2 MB, free: 12.39 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") [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.002037/0.002037, allocations: 74.23 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2826, allocations: 62.45 MB / 0.5432 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006851/0.2894, allocations: 5.01 MB / 0.5481 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.2926, allocations: 1.67 MB / 0.5497 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.2929, allocations: 22.72 kB / 0.5497 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.2942, allocations: 428.5 kB / 0.5501 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.2949, allocations: 306.5 kB / 0.5504 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2959, allocations: 361.8 kB / 0.5508 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008972/0.2968, allocations: 0.7804 MB / 0.5515 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.2973, allocations: 305 kB / 0.5518 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.2979, allocations: 359.1 kB / 0.5521 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.2985, allocations: 477.5 kB / 0.5526 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.2986, allocations: 50.34 kB / 0.5527 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.299, allocations: 179.2 kB / 0.5528 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.2993, allocations: 291 kB / 0.5531 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.2996, allocations: 291.2 kB / 0.5534 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009214/0.3006, allocations: 0.8251 MB / 0.5542 GB, free: 8.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3006, allocations: 1.062 kB / 0.5542 GB, free: 8.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3006, allocations: 0 / 0.5542 GB, free: 8.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.3006, allocations: 0 / 0.5542 GB, free: 8.426 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.001707/0.3023, allocations: 0.8614 MB / 0.555 GB, free: 7.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3023, allocations: 12.98 kB / 0.555 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.3034, allocations: 170.9 kB / 0.5552 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3045, allocations: 485.1 kB / 0.5557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.3046, allocations: 37.12 kB / 0.5557 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.3049, allocations: 127.9 kB / 0.5558 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3062, allocations: 0.8664 MB / 0.5567 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.3063, allocations: 8 kB / 0.5567 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.3063, allocations: 20 kB / 0.5567 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000456/0.3068, allocations: 72.94 kB / 0.5568 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3078, allocations: 0.6127 MB / 0.5574 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.3127, allocations: 3.506 MB / 0.5608 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.3138, allocations: 0.5167 MB / 0.5613 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.3143, allocations: 314.9 kB / 0.5616 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.3143, allocations: 12.44 kB / 0.5616 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3144, allocations: 38.94 kB / 0.5616 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.414e-06/0.3144, allocations: 3.938 kB / 0.5616 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003166/0.3176, allocations: 1.774 MB / 0.5634 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.3176, allocations: 85.55 kB / 0.5635 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.3181, allocations: 417.7 kB / 0.5639 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.3181, allocations: 29.83 kB / 0.5639 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.3184, allocations: 336.5 kB / 0.5642 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.3186, allocations: 214.3 kB / 0.5644 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.3188, allocations: 146.2 kB / 0.5645 GB, free: 13.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.319, allocations: 366.8 kB / 0.5649 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.3196, allocations: 385.4 kB / 0.5653 GB, free: 13.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.3203, allocations: 0.598 MB / 0.5658 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.3218, allocations: 1.07 MB / 0.5669 GB, free: 11.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3218, allocations: 4 kB / 0.5669 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004544/0.3263, allocations: 1.97 MB / 0.5688 GB, free: 9.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3264, allocations: 8 kB / 0.5688 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.3264, allocations: 8.656 kB / 0.5688 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/0.3288, allocations: 0.9601 MB / 0.5698 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.3292, allocations: 119.7 kB / 0.5699 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.3404, allocations: 7.855 MB / 0.5776 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.341, allocations: 39.97 kB / 0.5776 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/0.3411, allocations: 32 kB / 0.5776 GB, free: 80 kB / 414.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.0004011/0.3415, allocations: 249.6 kB / 0.5779 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3416, allocations: 51.7 kB / 0.5779 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.3428, allocations: 0.7216 MB / 0.5786 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3428, allocations: 4 kB / 0.5786 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3428, allocations: 4 kB / 0.5786 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3428, allocations: 3.984 kB / 0.5786 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.3455, allocations: 1.356 MB / 0.58 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3455, allocations: 4 kB / 0.58 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.3465, allocations: 183.9 kB / 0.5801 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3465, allocations: 8 kB / 0.5801 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.3466, allocations: 27.98 kB / 0.5802 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.3466, allocations: 3.984 kB / 0.5802 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3466, allocations: 4 kB / 0.5802 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3481, allocations: 0.9933 MB / 0.5811 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3482, allocations: 55.64 kB / 0.5812 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/0.3483, allocations: 27.89 kB / 0.5812 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3486, allocations: 28.22 kB / 0.5813 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.3487, allocations: 44.3 kB / 0.5813 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.3487, allocations: 16 kB / 0.5813 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002919/0.349, allocations: 275.1 kB / 0.5816 GB, free: 11.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 0 / 0.5816 GB, free: 11.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008231/0.3499, allocations: 212 kB / 0.5818 GB, free: 11.73 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.0001542/0.35, allocations: 123.1 kB / 0.5819 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.3525, allocations: 1.422 MB / 0.5833 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3525, allocations: 0.625 kB / 0.5833 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.353, allocations: 298.2 kB / 0.5836 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.3536, allocations: 131.2 kB / 0.5837 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.358, allocations: 2.789 MB / 0.5864 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3584, allocations: 394.5 kB / 0.5868 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3586, allocations: 47.42 kB / 0.5868 GB, free: 6.457 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3586, allocations: 0 / 0.5868 GB, free: 6.457 MB / 430.1 MB Notification: Performance of Templates: time 0.0161/0.3747, allocations: 11.32 MB / 0.5979 GB, free: 11.14 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.060269044246525] Failed to read output from testmodel.py, exit status != 0: 0.3836412616074085 0.39754263700000003 0.09387964700000001 Calling exit ...