Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0009772/0.0009772, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.0009421/0.0009421, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9966/0.9966, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2564/0.2564, allocations: 29.43 MB / 290.9 MB, free: 2.441 MB / 266.7 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.421e-05, allocations: 5.266 kB / 369.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006374/0.006409, allocations: 4.54 MB / 374.2 MB, free: 6.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.0086, allocations: 1.293 MB / 375.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.008882, allocations: 19.81 kB / 375.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.009306, allocations: 115.2 kB / 375.6 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006757/0.009982, allocations: 334.1 kB / 375.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.01071, allocations: 171.6 kB / 376.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.0114, allocations: 0.6928 MB / 376.8 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.01161, allocations: 92.69 kB / 376.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.01223, allocations: 398.9 kB / 377.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.01277, allocations: 427 kB / 377.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.01285, allocations: 44 kB / 377.7 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.01295, allocations: 48 kB / 377.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.01316, allocations: 251.4 kB / 378 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.01337, allocations: 203.5 kB / 378.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.01392, allocations: 450.5 kB / 378.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01393, allocations: 0 / 378.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.01393, allocations: 0 / 378.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.01395, allocations: 3.938 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001357/0.01531, allocations: 0.9799 MB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.01535, allocations: 15.98 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.01548, allocations: 76.61 kB / 379.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.01625, allocations: 0.5405 MB / 380.3 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.01627, allocations: 28.97 kB / 380.3 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.01634, allocations: 43.89 kB / 380.4 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.01682, allocations: 386.8 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01683, allocations: 0 / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.01686, allocations: 12 kB / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/0.01707, allocations: 84.52 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.01731, allocations: 155.7 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.01915, allocations: 1.925 MB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.01966, allocations: 222.2 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.02024, allocations: 171.3 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.02027, allocations: 4 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.0203, allocations: 41.39 kB / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.0203, allocations: 0 / 383.3 MB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002052/0.02235, allocations: 1.246 MB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.02239, allocations: 81.11 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.02264, allocations: 406.8 kB / 385.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.02267, allocations: 37.7 kB / 385.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.02281, allocations: 311.3 kB / 385.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.02289, allocations: 146.8 kB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.023, allocations: 103.8 kB / 385.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.02313, allocations: 0.5391 MB / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.02325, allocations: 68.95 kB / 386.2 MB, free: 9.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.02343, allocations: 228.6 kB / 386.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.02375, allocations: 329.1 kB / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.02375, allocations: 4 kB / 386.8 MB, free: 9.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007188/0.02447, allocations: 0.5545 MB / 387.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.02449, allocations: 12.03 kB / 387.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.0245, allocations: 4 kB / 387.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.025, allocations: 215.1 kB / 387.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.02517, allocations: 87.83 kB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.02793, allocations: 4.521 MB / 392.2 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.0281, allocations: 48 kB / 392.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.02812, allocations: 20 kB / 392.3 MB, free: 3.551 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * 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%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.02825, allocations: 184.4 kB / 392.4 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.02831, allocations: 51.72 kB / 392.5 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.02891, allocations: 462.9 kB / 392.9 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.02891, allocations: 4 kB / 392.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.02892, allocations: 8 kB / 392.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.02892, allocations: 3.938 kB / 392.9 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.02987, allocations: 0.877 MB / 393.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.02988, allocations: 0 / 393.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.02997, allocations: 32.11 kB / 393.9 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.03053, allocations: 305.3 kB / 394.2 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.03057, allocations: 31.97 kB / 394.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.03374, allocations: 7.171 MB / 401.4 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.03374, allocations: 7.938 kB / 401.4 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.03446, allocations: 0.6739 MB / 402 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.0345, allocations: 43.7 kB / 402.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.03455, allocations: 23.98 kB / 402.1 MB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.03469, allocations: 39.94 kB / 402.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.03476, allocations: 39.92 kB / 402.2 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.03478, allocations: 11.98 kB / 402.2 MB, free: 8.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.03493, allocations: 259.1 kB / 402.4 MB, free: 8.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03494, allocations: 0 / 402.4 MB, free: 8.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004353/0.03537, allocations: 159.9 kB / 402.6 MB, free: 8.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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.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]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.0355, allocations: 123.2 kB / 402.7 MB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.03635, allocations: 0.7266 MB / 403.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03635, allocations: 0 / 403.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.03732, allocations: 0.9669 MB / 404.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.03777, allocations: 128.1 kB / 404.5 MB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.03972, allocations: 1.333 MB / 405.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.03984, allocations: 153.7 kB / 406 MB, free: 4.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.03999, allocations: 60.34 kB / 406.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.04005, allocations: 32.5 kB / 406.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.04005, allocations: 3.938 kB / 406.1 MB, free: 4.777 MB / 378.7 MB Notification: Performance of Templates: time 0.01058/0.05064, allocations: 8.081 MB / 414.2 MB, free: 12.82 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3445736370049417]