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.001125/0.001125, allocations: 83.58 kB / 21.19 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.001232/0.001232, allocations: 161 kB / 24.56 MB, free: 12 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.9706/0.9706, allocations: 177.1 MB / 205 MB, free: 5.227 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.2315/0.2315, allocations: 29.41 MB / 290.9 MB, free: 2.449 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.973e-06/1.973e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.439e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.01183/0.01186, allocations: 4.551 MB / 374.2 MB, free: 6.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.01414, allocations: 1.297 MB / 375.5 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.01445, allocations: 19.81 kB / 375.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.01802, allocations: 119.1 kB / 375.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008246/0.01884, allocations: 330.1 kB / 375.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.01935, allocations: 171.5 kB / 376.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007612/0.02012, allocations: 0.6929 MB / 376.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.02336, allocations: 100.7 kB / 376.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009209/0.02429, allocations: 478.7 kB / 377.4 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.02481, allocations: 383.1 kB / 377.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.02488, allocations: 36 kB / 377.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.02497, allocations: 40 kB / 377.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.02519, allocations: 243.4 kB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.02541, allocations: 187.6 kB / 378.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.02597, allocations: 434.5 kB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.02598, allocations: 0 / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.02598, allocations: 0 / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.02599, allocations: 0 / 378.7 MB, free: 1.93 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.004562/0.03055, allocations: 0.9604 MB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.0306, allocations: 11.98 kB / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.03077, allocations: 76.61 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.03157, allocations: 0.4976 MB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.0316, allocations: 29.02 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.03168, allocations: 47.89 kB / 380.3 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/0.03529, allocations: 382.7 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.0353, allocations: 4 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.03534, allocations: 8 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/0.03563, allocations: 92.52 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.03595, allocations: 139.7 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.03798, allocations: 1.921 MB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.0385, allocations: 226.2 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.03882, allocations: 175.3 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.03885, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.03926, allocations: 45.38 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 3.927e-06/0.03927, allocations: 4 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002393/0.04166, allocations: 1.242 MB / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.04171, allocations: 81.11 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.04204, allocations: 410.6 kB / 385 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.04208, allocations: 33.7 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.04225, allocations: 311.3 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.04234, allocations: 146.8 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.04246, allocations: 99.84 kB / 385.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.04263, allocations: 0.5391 MB / 386.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.04276, allocations: 64.95 kB / 386.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.04298, allocations: 244.6 kB / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.04335, allocations: 321.1 kB / 386.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.04336, allocations: 0 / 386.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008241/0.04418, allocations: 0.5582 MB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.04421, allocations: 7.984 kB / 387.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.04422, allocations: 7.984 kB / 387.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.04479, allocations: 227.3 kB / 387.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.045, allocations: 79.83 kB / 387.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.04848, allocations: 4.513 MB / 392.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.04875, allocations: 43.94 kB / 392.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.04877, allocations: 23.94 kB / 392.2 MB, free: 3.672 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.0002061/0.04898, allocations: 180.4 kB / 392.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.04906, allocations: 59.7 kB / 392.4 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/0.04973, allocations: 463 kB / 392.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.04974, allocations: 4 kB / 392.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.04974, allocations: 4 kB / 392.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.04975, allocations: 7.922 kB / 392.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.05083, allocations: 0.8691 MB / 393.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.05083, allocations: 4 kB / 393.7 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.05094, allocations: 43.94 kB / 393.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006252/0.05156, allocations: 297.3 kB / 394.1 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.05161, allocations: 31.97 kB / 394.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/0.05532, allocations: 7.171 MB / 401.3 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.05532, allocations: 224 / 401.3 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.05614, allocations: 0.6855 MB / 402 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.0562, allocations: 35.72 kB / 402 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.05625, allocations: 27.92 kB / 402 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.0564, allocations: 39.94 kB / 402.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.0565, allocations: 35.92 kB / 402.1 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.05652, allocations: 11.98 kB / 402.1 MB, free: 9.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.0567, allocations: 259.1 kB / 402.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0567, allocations: 4 kB / 402.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005667/0.05727, allocations: 163.9 kB / 402.5 MB, free: 8.605 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.0001581/0.05743, allocations: 118.4 kB / 402.6 MB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.05869, allocations: 0.7346 MB / 403.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.05869, allocations: 0 / 403.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.05998, allocations: 0.9667 MB / 404.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.06072, allocations: 122.8 kB / 404.5 MB, free: 6.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.06386, allocations: 1.339 MB / 405.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.06401, allocations: 153.7 kB / 406 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.06422, allocations: 64.33 kB / 406 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.0643, allocations: 36.48 kB / 406.1 MB, free: 4.887 MB / 378.7 MB Notification: Performance of SimCode: time 2.114e-06/0.0643, allocations: 0 / 406.1 MB, free: 4.887 MB / 378.7 MB Notification: Performance of Templates: time 0.01233/0.07663, allocations: 8.334 MB / 414.4 MB, free: 12.67 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.1709005273878574]