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.00136/0.00136, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001472/0.001472, allocations: 168.9 kB / 24.91 MB, free: 9.16 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3047/0.3047, allocations: 29.41 MB / 291.2 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.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.893e-06/1.893e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.116e-05, allocations: 6.312 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.00635/0.006381, allocations: 4.215 MB / 321 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.009287, allocations: 1.325 MB / 322.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.009744, allocations: 15.88 kB / 322.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.01075, allocations: 167 kB / 322.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007822/0.01153, allocations: 254.6 kB / 322.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.01218, allocations: 175.4 kB / 323 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009052/0.01309, allocations: 0.5804 MB / 323.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005436/0.01363, allocations: 252 kB / 323.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.01459, allocations: 395 kB / 324.2 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.01514, allocations: 223.4 kB / 324.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.01525, allocations: 31.98 kB / 324.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.01564, allocations: 123.7 kB / 324.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.01594, allocations: 207.5 kB / 324.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.01619, allocations: 155.6 kB / 324.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.01697, allocations: 382.7 kB / 325.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.01698, allocations: 0 / 325.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01698, allocations: 0 / 325.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.017, allocations: 4 kB / 325.3 MB, free: 7.523 MB / 298.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.0009502/0.01795, allocations: 0.6019 MB / 325.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.018, allocations: 11.98 kB / 325.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.01846, allocations: 112.8 kB / 326 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.01887, allocations: 312.3 kB / 326.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.0189, allocations: 25.38 kB / 326.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.01902, allocations: 48.67 kB / 326.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.01938, allocations: 311.7 kB / 326.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.0194, allocations: 3.984 kB / 326.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.01942, allocations: 12 kB / 326.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-05/0.0195, allocations: 32.98 kB / 326.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.01966, allocations: 113.7 kB / 326.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.02094, allocations: 1.147 MB / 328 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.02115, allocations: 127.8 kB / 328.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.02121, allocations: 41.77 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.02122, allocations: 4 kB / 328.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.02125, allocations: 38.55 kB / 328.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.02126, allocations: 0 / 328.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007908/0.02205, allocations: 405.1 kB / 328.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.0221, allocations: 81.11 kB / 328.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.02227, allocations: 262.9 kB / 328.9 MB, free: 3.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.02229, allocations: 29.7 kB / 329 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.0224, allocations: 236.4 kB / 329.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.02244, allocations: 67.42 kB / 329.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.02251, allocations: 57.92 kB / 329.3 MB, free: 3.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.02262, allocations: 342.9 kB / 329.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.02267, allocations: 35.09 kB / 329.7 MB, free: 2.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/0.02277, allocations: 133.3 kB / 329.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.02296, allocations: 209.2 kB / 330 MB, free: 2.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.02296, allocations: 0 / 330 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003852/0.02334, allocations: 271.7 kB / 330.3 MB, free: 2.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02336, allocations: 8 kB / 330.3 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/0.02356, allocations: 131.6 kB / 330.4 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.02389, allocations: 119.6 kB / 330.5 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.02402, allocations: 51.92 kB / 330.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.02554, allocations: 1.745 MB / 332.3 MB, free: 0 / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.02567, allocations: 16.05 kB / 332.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.02569, allocations: 15.94 kB / 332.4 MB, free: 15.96 MB / 314.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.0001619/0.02585, allocations: 128.6 kB / 332.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.02589, allocations: 23.97 kB / 332.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.02613, allocations: 139.5 kB / 332.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.02613, allocations: 4 kB / 332.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.02614, allocations: 3.938 kB / 332.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02614, allocations: 0 / 332.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.02677, allocations: 457 kB / 333.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.02677, allocations: 4.062 kB / 333.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.0269, allocations: 39.92 kB / 333.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.594e-05/0.02699, allocations: 34.47 kB / 333.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.027, allocations: 4 kB / 333.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.02701, allocations: 0 / 333.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02701, allocations: 3.938 kB / 333.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.0273, allocations: 325.5 kB / 333.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.02733, allocations: 23.81 kB / 333.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.02735, allocations: 0 / 333.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.02742, allocations: 15.94 kB / 333.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.02744, allocations: 11.97 kB / 333.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.02745, allocations: 8 kB / 333.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.02753, allocations: 92.62 kB / 333.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02753, allocations: 0 / 333.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.02782, allocations: 88 kB / 333.7 MB, free: 14.49 MB / 314.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.0001223/0.02794, allocations: 80.41 kB / 333.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.02833, allocations: 289.2 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.02834, allocations: 4 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.104e-05/0.02843, allocations: 66.44 kB / 334.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.02871, allocations: 76.56 kB / 334.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.03006, allocations: 0.7324 MB / 335 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.03018, allocations: 136.5 kB / 335.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.03028, allocations: 35 kB / 335.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.03041, allocations: 103.3 kB / 335.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.553e-06/0.03042, allocations: 3.938 kB / 335.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of Templates: time 0.006999/0.03742, allocations: 3.976 MB / 339.2 MB, free: 9.012 MB / 314.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.1400183476507664]