Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001113/0.001113, allocations: 83.58 kB / 21.19 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.0009708/0.0009708, allocations: 161 kB / 24.56 MB, free: 16 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.652 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.2254/0.2254, allocations: 29.42 MB / 290.9 MB, free: 2.5 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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 3.984 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.104e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006152/0.006183, allocations: 4.212 MB / 373.9 MB, free: 6.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.008571, allocations: 1.325 MB / 375.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.008801, allocations: 23.81 kB / 375.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006986/0.0095, allocations: 155.1 kB / 375.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.01011, allocations: 254.5 kB / 375.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.01062, allocations: 175.4 kB / 375.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007208/0.01134, allocations: 0.5761 MB / 376.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.01176, allocations: 221.5 kB / 376.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006495/0.01241, allocations: 395 kB / 377 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.0128, allocations: 231.3 kB / 377.2 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.01285, allocations: 28 kB / 377.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.01313, allocations: 135.7 kB / 377.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.01334, allocations: 211.5 kB / 377.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.01353, allocations: 151.7 kB / 377.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.01412, allocations: 386.6 kB / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01412, allocations: 0 / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01412, allocations: 0 / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.01413, allocations: 0 / 378.1 MB, free: 2.52 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001095/0.01523, allocations: 0.7233 MB / 378.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.01527, allocations: 11.98 kB / 378.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.01587, allocations: 128.6 kB / 378.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.01641, allocations: 345.7 kB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.01644, allocations: 25.36 kB / 379.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.01657, allocations: 44.73 kB / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.01714, allocations: 342 kB / 379.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01715, allocations: 0 / 379.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.01719, allocations: 16 kB / 379.7 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.01729, allocations: 24.98 kB / 379.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.01765, allocations: 157.8 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.01949, allocations: 1.555 MB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.01973, allocations: 106.1 kB / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.01983, allocations: 63.41 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01984, allocations: 8 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.01988, allocations: 37.39 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.765e-06/0.01988, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001185/0.02106, allocations: 0.5685 MB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.02111, allocations: 81.11 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.02139, allocations: 338.2 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.02141, allocations: 25.7 kB / 382.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.0216, allocations: 314.8 kB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.02165, allocations: 67.45 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.02175, allocations: 67.59 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.02191, allocations: 0.5118 MB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.02201, allocations: 40.25 kB / 383.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.02219, allocations: 195.6 kB / 383.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.02248, allocations: 250.3 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.02249, allocations: 7.938 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007031/0.02319, allocations: 336.5 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.02321, allocations: 4 kB / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004161/0.02363, allocations: 184 kB / 384.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.02411, allocations: 115.6 kB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.02429, allocations: 55.91 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.02652, allocations: 2.371 MB / 387.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.0267, allocations: 19.97 kB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.02672, allocations: 12 kB / 387.2 MB, free: 8.859 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.02687, allocations: 176.5 kB / 387.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.02693, allocations: 31.81 kB / 387.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.02725, allocations: 170.3 kB / 387.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02725, allocations: 7.938 kB / 387.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.02726, allocations: 3.984 kB / 387.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.02726, allocations: 4 kB / 387.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008641/0.02813, allocations: 0.5901 MB / 388.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.02813, allocations: 0 / 388.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.0283, allocations: 31.98 kB / 388.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.896e-05/0.02838, allocations: 23.61 kB / 388.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.0284, allocations: 11.94 kB / 388.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.02841, allocations: 4 kB / 388.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.02841, allocations: 4.062 kB / 388.2 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.02885, allocations: 370.3 kB / 388.6 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.02889, allocations: 27.75 kB / 388.6 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.02893, allocations: 11.98 kB / 388.6 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.02906, allocations: 12.06 kB / 388.6 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.0291, allocations: 11.97 kB / 388.6 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.02912, allocations: 4 kB / 388.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.02928, allocations: 219 kB / 388.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02928, allocations: 0 / 388.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004988/0.02978, allocations: 88 kB / 388.9 MB, free: 6.965 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.02991, allocations: 111.2 kB / 389 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006354/0.03055, allocations: 383.7 kB / 389.4 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.03055, allocations: 8.312 kB / 389.4 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.0307, allocations: 75.22 kB / 389.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.03118, allocations: 58.97 kB / 389.6 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.03299, allocations: 0.7785 MB / 390.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.03313, allocations: 136.4 kB / 390.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.03328, allocations: 50.92 kB / 390.5 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.03334, allocations: 24.5 kB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03334, allocations: 0 / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of Templates: time 0.008192/0.04153, allocations: 3.919 MB / 394.5 MB, free: 1.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.021869041956961]