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.0009845/0.0009845, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001162/0.001162, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9495/0.9495, allocations: 177.1 MB / 206 MB, free: 4.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.1183/0.1183, allocations: 29.42 MB / 292 MB, free: 2.641 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.633e-06/1.633e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.324e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004446/0.00446, allocations: 4.188 MB / 375.1 MB, free: 28.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.006117, allocations: 1.301 MB / 376.4 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.006283, allocations: 23.81 kB / 376.4 MB, free: 26.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.006832, allocations: 159.1 kB / 376.5 MB, free: 26.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.007232, allocations: 266.5 kB / 376.8 MB, free: 26.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.00757, allocations: 167.5 kB / 377 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.008043, allocations: 0.58 MB / 377.6 MB, free: 25.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.008351, allocations: 233.4 kB / 377.8 MB, free: 25.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.008791, allocations: 399 kB / 378.2 MB, free: 25.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.008994, allocations: 235.3 kB / 378.4 MB, free: 24.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.009021, allocations: 28 kB / 378.4 MB, free: 24.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.009158, allocations: 131.7 kB / 378.6 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.009254, allocations: 207.5 kB / 378.8 MB, free: 24.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.009338, allocations: 147.7 kB / 378.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.00958, allocations: 386.6 kB / 379.3 MB, free: 23.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.009582, allocations: 0 / 379.3 MB, free: 23.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.009583, allocations: 4 kB / 379.3 MB, free: 23.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.009587, allocations: 0 / 379.3 MB, free: 23.89 MB / 314.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.0005014/0.01009, allocations: 0.7231 MB / 380 MB, free: 23.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.501e-05/0.01011, allocations: 12.03 kB / 380 MB, free: 23.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.01043, allocations: 124.6 kB / 380.1 MB, free: 23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.01067, allocations: 325.8 kB / 380.5 MB, free: 22.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.01069, allocations: 29.38 kB / 380.5 MB, free: 22.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.01075, allocations: 40.72 kB / 380.5 MB, free: 22.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.01098, allocations: 317.9 kB / 380.8 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01099, allocations: 0 / 380.8 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.01101, allocations: 20 kB / 380.9 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/0.01106, allocations: 24.98 kB / 380.9 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.01118, allocations: 126.8 kB / 381 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.01198, allocations: 1.473 MB / 382.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.01209, allocations: 102.1 kB / 382.6 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.01213, allocations: 51.42 kB / 382.6 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.01214, allocations: 4 kB / 382.6 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.01215, allocations: 41.31 kB / 382.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.01215, allocations: 0 / 382.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005276/0.01268, allocations: 435.6 kB / 383.1 MB, free: 19.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.628e-05/0.0127, allocations: 81.05 kB / 383.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01281, allocations: 330.1 kB / 383.5 MB, free: 19.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.01282, allocations: 29.7 kB / 383.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.01289, allocations: 310.7 kB / 383.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.01291, allocations: 71.41 kB / 383.9 MB, free: 18.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.01296, allocations: 63.58 kB / 384 MB, free: 18.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.013, allocations: 0.5197 MB / 384.5 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.01304, allocations: 32.25 kB / 384.5 MB, free: 18.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/0.0131, allocations: 181.2 kB / 384.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.01322, allocations: 230.5 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01322, allocations: 3.938 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000322/0.01354, allocations: 321.2 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.01355, allocations: 8 kB / 385.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/0.01374, allocations: 151.7 kB / 385.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.01401, allocations: 127.6 kB / 385.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.0141, allocations: 47.92 kB / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.01504, allocations: 2.307 MB / 387.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.01512, allocations: 8 kB / 387.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01513, allocations: 12 kB / 387.9 MB, free: 14.73 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 6.134e-05/0.01519, allocations: 180.4 kB / 388.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.01523, allocations: 39.75 kB / 388.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.01537, allocations: 166.8 kB / 388.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.01537, allocations: 4 kB / 388.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01537, allocations: 0 / 388.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01538, allocations: 0 / 388.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.01576, allocations: 0.5008 MB / 388.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01576, allocations: 8.016 kB / 388.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.01586, allocations: 43.92 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.96e-05/0.0159, allocations: 19.67 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.01591, allocations: 4 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01591, allocations: 4 kB / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01591, allocations: 0 / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.01608, allocations: 360.4 kB / 389.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.0161, allocations: 31.84 kB / 389.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01612, allocations: 11.95 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.01618, allocations: 7.938 kB / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.0162, allocations: 15.97 kB / 389.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.01621, allocations: 0 / 389.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.01626, allocations: 214.9 kB / 389.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01626, allocations: 0 / 389.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01651, allocations: 88 kB / 389.6 MB, free: 12.95 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 5.381e-05/0.01657, allocations: 99.19 kB / 389.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01682, allocations: 351 kB / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01682, allocations: 0 / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.01689, allocations: 84.08 kB / 390.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.01714, allocations: 62.92 kB / 390.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.018, allocations: 0.7847 MB / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.01805, allocations: 128.6 kB / 391.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.724e-05/0.01812, allocations: 38.95 kB / 391.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.01821, allocations: 126.2 kB / 391.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01821, allocations: 0 / 391.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of Templates: time 0.004643/0.02285, allocations: 4.053 MB / 395.3 MB, free: 7.211 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: 2.9026837018318474]