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.001036/0.001036, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001159/0.001159, allocations: 165 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 1.051/1.051, allocations: 177.1 MB / 205 MB, free: 5.609 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.254/0.254, allocations: 29.42 MB / 290.9 MB, free: 2.484 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.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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.715e-05, allocations: 5.266 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005055/0.005092, allocations: 4.793 MB / 374.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.007498, allocations: 1.745 MB / 376.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.007746, allocations: 27.75 kB / 376.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.008382, allocations: 206.7 kB / 376.4 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.008906, allocations: 310.1 kB / 376.7 MB, free: 3.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.009708, allocations: 394.8 kB / 377.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.01045, allocations: 0.7595 MB / 377.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.01085, allocations: 302.4 kB / 378.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.01146, allocations: 0.5066 MB / 378.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.01186, allocations: 399 kB / 379.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.01192, allocations: 44 kB / 379.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.0122, allocations: 187.7 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.01241, allocations: 291.3 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.0126, allocations: 235.5 kB / 379.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.01323, allocations: 0.6268 MB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01324, allocations: 7.875 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01324, allocations: 0 / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.01325, allocations: 0 / 380.4 MB, free: 140 kB / 346.7 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.001223/0.01447, allocations: 0.9416 MB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.01451, allocations: 11.98 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007457/0.01526, allocations: 236.2 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.01589, allocations: 471.4 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.01592, allocations: 33.36 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.01616, allocations: 120.3 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.01685, allocations: 0.6474 MB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.01688, allocations: 7.938 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.01692, allocations: 20 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.01714, allocations: 80.88 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.01758, allocations: 285.5 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.02036, allocations: 3.94 MB / 387.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.0209, allocations: 328.5 kB / 387.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.02108, allocations: 132.9 kB / 387.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.02111, allocations: 12.5 kB / 387.7 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.02114, allocations: 37.89 kB / 387.7 MB, free: 8.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.834e-06/0.02114, allocations: 4 kB / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001515/0.02266, allocations: 1.087 MB / 388.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.0227, allocations: 85.61 kB / 388.9 MB, free: 7.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.02299, allocations: 462.6 kB / 389.3 MB, free: 6.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.02303, allocations: 29.7 kB / 389.4 MB, free: 6.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.0232, allocations: 387.2 kB / 389.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.02332, allocations: 222.3 kB / 390 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.02347, allocations: 163.9 kB / 390.1 MB, free: 6.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.02362, allocations: 0.5469 MB / 390.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.02384, allocations: 153.5 kB / 390.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.02417, allocations: 486.9 kB / 391.3 MB, free: 4.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.02481, allocations: 0.6976 MB / 392 MB, free: 3.855 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.02481, allocations: 4 kB / 392 MB, free: 3.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00216/0.02697, allocations: 1.406 MB / 393.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.02699, allocations: 12.64 kB / 393.4 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.027, allocations: 4 kB / 393.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.02851, allocations: 0.833 MB / 394.2 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.02875, allocations: 123.8 kB / 394.4 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005026/0.03378, allocations: 6.009 MB / 400.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.03399, allocations: 31.97 kB / 400.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.03404, allocations: 36 kB / 400.4 MB, free: 11.13 MB / 378.7 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.0001458/0.03418, allocations: 196.4 kB / 400.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.03426, allocations: 75.59 kB / 400.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/0.03498, allocations: 444.6 kB / 401.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.03498, allocations: 8 kB / 401.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.03498, allocations: 0 / 401.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.03499, allocations: 3.938 kB / 401.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.03621, allocations: 1.045 MB / 402.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.03621, allocations: 4 kB / 402.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.03672, allocations: 187.8 kB / 402.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.03673, allocations: 8 kB / 402.4 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.03677, allocations: 23.98 kB / 402.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.03677, allocations: 7.938 kB / 402.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03677, allocations: 0 / 402.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.03749, allocations: 0.6978 MB / 403.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.03753, allocations: 47.67 kB / 403.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.03758, allocations: 28.05 kB / 403.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.03774, allocations: 35.91 kB / 403.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.0378, allocations: 40.36 kB / 403.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.03783, allocations: 16 kB / 403.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.038, allocations: 271.1 kB / 403.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.038, allocations: 4 kB / 403.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000497/0.03849, allocations: 216 kB / 403.8 MB, free: 7.699 MB / 378.7 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.0001247/0.03862, allocations: 127.2 kB / 403.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.04005, allocations: 1.191 MB / 405.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.04005, allocations: 0 / 405.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.04026, allocations: 179.4 kB / 405.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.04069, allocations: 113.5 kB / 405.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.04355, allocations: 2.009 MB / 407.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.04372, allocations: 198.4 kB / 407.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.04405, allocations: 160.6 kB / 407.7 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.04422, allocations: 52.48 kB / 407.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of SimCode: time 1.904e-06/0.04422, allocations: 0 / 407.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of Templates: time 0.01814/0.06236, allocations: 11.58 MB / 419.4 MB, free: 8.117 MB / 394.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.503530598245561]