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.00193/0.00193, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.002359/0.002359, allocations: 165.3 kB / 24.26 MB, free: 148 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.562/1.562, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3636/0.3636, allocations: 29.41 MB / 290.5 MB, free: 2.438 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 1.402e-06/1.402e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.411e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007029/0.007053, allocations: 4.46 MB / 373.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.009638, allocations: 1.262 MB / 374.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.009807, allocations: 15.88 kB / 374.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.01105, allocations: 406.1 kB / 375 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.01162, allocations: 254.5 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.01211, allocations: 171.5 kB / 375.4 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007115/0.01283, allocations: 0.5722 MB / 376 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.01323, allocations: 233.4 kB / 376.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.01377, allocations: 343 kB / 376.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.01423, allocations: 267.2 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.01429, allocations: 35.94 kB / 376.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.01458, allocations: 131.7 kB / 377 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.01482, allocations: 211.5 kB / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.01503, allocations: 143.7 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.01574, allocations: 0.5179 MB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01574, allocations: 0 / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01574, allocations: 0 / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.01575, allocations: 0 / 377.9 MB, free: 2.293 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.001268/0.01702, allocations: 0.6311 MB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.01706, allocations: 11.98 kB / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006834/0.01774, allocations: 120.6 kB / 378.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/0.01848, allocations: 375.9 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.01851, allocations: 25.36 kB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.01866, allocations: 52.69 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.01947, allocations: 480.9 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.01949, allocations: 0 / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.01953, allocations: 12 kB / 379.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.01965, allocations: 28.98 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.02026, allocations: 347.7 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.02272, allocations: 1.425 MB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.02305, allocations: 137 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.02323, allocations: 109.7 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.02325, allocations: 4 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.02329, allocations: 38.5 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.02329, allocations: 4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.00164/0.02494, allocations: 0.7458 MB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.02501, allocations: 88.98 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.02538, allocations: 292.5 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.02541, allocations: 29.7 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.02563, allocations: 252 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.02571, allocations: 75.41 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.02582, allocations: 62.06 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.02602, allocations: 338.8 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.02621, allocations: 100.2 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.02649, allocations: 197.4 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.02697, allocations: 323.8 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.02698, allocations: 11.88 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001033/0.02801, allocations: 477.7 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.02802, allocations: 4 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006978/0.02872, allocations: 300.8 kB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/0.02948, allocations: 177 kB / 385 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.0297, allocations: 51.91 kB / 385.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.03307, allocations: 2.324 MB / 387.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.03328, allocations: 12 kB / 387.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.0333, allocations: 12 kB / 387.4 MB, free: 8.238 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.000261/0.03357, allocations: 197.6 kB / 387.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.03364, allocations: 35.8 kB / 387.7 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.03416, allocations: 252.6 kB / 387.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.03416, allocations: 4 kB / 387.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.03416, allocations: 0 / 387.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.03417, allocations: 3.984 kB / 387.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.03549, allocations: 0.6293 MB / 388.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03549, allocations: 0 / 388.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.03572, allocations: 39.92 kB / 388.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.03584, allocations: 36.83 kB / 388.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.03587, allocations: 11.92 kB / 388.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.03587, allocations: 7.984 kB / 388.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03587, allocations: 0 / 388.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.03655, allocations: 449.3 kB / 389.1 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.0366, allocations: 35.89 kB / 389.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.03664, allocations: 4 kB / 389.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.0368, allocations: 12.05 kB / 389.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.03684, allocations: 11.98 kB / 389.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.03685, allocations: 4 kB / 389.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002582/0.03711, allocations: 207.1 kB / 389.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03711, allocations: 0 / 389.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.03759, allocations: 88 kB / 389.4 MB, free: 6.145 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.0001467/0.03773, allocations: 107.2 kB / 389.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.03854, allocations: 407.9 kB / 389.9 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03854, allocations: 4.812 kB / 389.9 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.03875, allocations: 100.8 kB / 390 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.03925, allocations: 59.61 kB / 390.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.04075, allocations: 0.8113 MB / 390.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.04106, allocations: 241 kB / 391.1 MB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.04124, allocations: 62.91 kB / 391.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.04131, allocations: 24.5 kB / 391.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.04131, allocations: 0 / 391.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of Templates: time 0.009079/0.05039, allocations: 3.651 MB / 394.9 MB, free: 0.6875 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.908983809989877]