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.001353/0.001353, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001454/0.001454, allocations: 169.2 kB / 24.82 MB, free: 8.93 MB / 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 1.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2693/0.2693, allocations: 29.42 MB / 291.2 MB, free: 2.387 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.843e-06/1.843e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.142e-05, allocations: 2.312 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005613/0.005644, allocations: 4.509 MB / 374.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.007574, allocations: 1.285 MB / 375.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.007862, allocations: 23.75 kB / 375.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.00831, allocations: 111.2 kB / 376 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006899/0.009, allocations: 338.1 kB / 376.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.009461, allocations: 163.6 kB / 376.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.01018, allocations: 0.6967 MB / 377.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.0104, allocations: 100.7 kB / 377.3 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007234/0.01113, allocations: 470.8 kB / 377.8 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.0116, allocations: 391.1 kB / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.01166, allocations: 36 kB / 378.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.01175, allocations: 44 kB / 378.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.01194, allocations: 239.4 kB / 378.5 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.0121, allocations: 195.5 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.01258, allocations: 434.5 kB / 379.1 MB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01258, allocations: 0 / 379.1 MB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01258, allocations: 0 / 379.1 MB, free: 1.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.01259, allocations: 0 / 379.1 MB, free: 1.664 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.001053/0.01364, allocations: 0.8706 MB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.01368, allocations: 11.98 kB / 380 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.01379, allocations: 80.59 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.01432, allocations: 437.6 kB / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.01434, allocations: 25.03 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.0144, allocations: 43.89 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.01477, allocations: 358.7 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01478, allocations: 4 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.0148, allocations: 12 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.01494, allocations: 32.62 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.0151, allocations: 116.4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.01665, allocations: 1.808 MB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.01704, allocations: 198.2 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.01726, allocations: 151.3 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01729, allocations: 8 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.01731, allocations: 37.39 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.01731, allocations: 0 / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001722/0.01904, allocations: 0.9576 MB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.01907, allocations: 81.11 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.01931, allocations: 410.4 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.01934, allocations: 37.7 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.01949, allocations: 311.3 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.01958, allocations: 146.8 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.01968, allocations: 103.8 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01984, allocations: 0.5429 MB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.01993, allocations: 52.89 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.02009, allocations: 220.6 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.02035, allocations: 297.1 kB / 386.4 MB, free: 9.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.02036, allocations: 4 kB / 386.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006059/0.02096, allocations: 467.8 kB / 386.8 MB, free: 9.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.02098, allocations: 4 kB / 386.8 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.02099, allocations: 4 kB / 386.8 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/0.02138, allocations: 151.2 kB / 387 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.02155, allocations: 83.89 kB / 387.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.024, allocations: 4.366 MB / 391.4 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.02415, allocations: 16 kB / 391.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.02417, allocations: 12 kB / 391.5 MB, free: 4.562 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.0001541/0.02432, allocations: 184.4 kB / 391.6 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.0244, allocations: 51.7 kB / 391.7 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.02497, allocations: 446.9 kB / 392.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.02498, allocations: 4 kB / 392.1 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.02498, allocations: 4.125 kB / 392.1 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.02499, allocations: 7.984 kB / 392.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.02586, allocations: 0.772 MB / 392.9 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02586, allocations: 4 kB / 392.9 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.02595, allocations: 31.98 kB / 393 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/0.02647, allocations: 257.4 kB / 393.2 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.02651, allocations: 35.91 kB / 393.2 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.02951, allocations: 7.005 MB / 400.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.02951, allocations: 4 kB / 400.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.03021, allocations: 0.6464 MB / 400.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.03026, allocations: 43.69 kB / 400.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.03031, allocations: 23.98 kB / 401 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.03043, allocations: 8 kB / 401 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.0305, allocations: 43.86 kB / 401 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.03052, allocations: 7.984 kB / 401 MB, free: 10.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.03065, allocations: 247 kB / 401.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03065, allocations: 0 / 401.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004525/0.03111, allocations: 160 kB / 401.4 MB, free: 9.945 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.0001456/0.03125, allocations: 126.3 kB / 401.5 MB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.03198, allocations: 0.641 MB / 402.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.03199, allocations: 4.125 kB / 402.2 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.03267, allocations: 0.9003 MB / 403.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.0331, allocations: 115.8 kB / 403.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.03494, allocations: 1.337 MB / 404.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.03506, allocations: 153.7 kB / 404.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.03521, allocations: 60.34 kB / 404.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.03539, allocations: 166.1 kB / 404.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03539, allocations: 0 / 404.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of Templates: time 0.01061/0.046, allocations: 8.454 MB / 413.4 MB, free: 13.92 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.2557335114106536]