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.0009291/0.0009291, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001241/0.001241, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2331/0.2331, allocations: 29.41 MB / 291.2 MB, free: 2.48 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.343e-06/1.343e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.971e-05, allocations: 3.188 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004421/0.00444, allocations: 4.255 MB / 321.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.006144, allocations: 1.325 MB / 322.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.006306, allocations: 15.88 kB / 322.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.006812, allocations: 171 kB / 322.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.007149, allocations: 254.5 kB / 322.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.007508, allocations: 167.4 kB / 323.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.007939, allocations: 0.5843 MB / 323.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.008233, allocations: 244.1 kB / 323.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.008648, allocations: 399 kB / 324.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.008918, allocations: 223.3 kB / 324.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.008954, allocations: 28 kB / 324.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.009151, allocations: 131.7 kB / 324.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.009308, allocations: 203.5 kB / 324.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.009419, allocations: 147.7 kB / 325 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.009785, allocations: 390.6 kB / 325.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.009787, allocations: 0 / 325.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009788, allocations: 0 / 325.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.009794, allocations: 4 kB / 325.4 MB, free: 7.434 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.0006552/0.01045, allocations: 0.5981 MB / 326 MB, free: 6.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.01049, allocations: 11.98 kB / 326 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.01089, allocations: 112.8 kB / 326.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.01125, allocations: 304.3 kB / 326.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.01127, allocations: 29.38 kB / 326.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.01136, allocations: 52.66 kB / 326.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.01173, allocations: 311.7 kB / 326.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01174, allocations: 0 / 326.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.01176, allocations: 12 kB / 326.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.01182, allocations: 28.98 kB / 326.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.01198, allocations: 121.7 kB / 326.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.01302, allocations: 1.147 MB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.01317, allocations: 127.8 kB / 328.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.01322, allocations: 45.77 kB / 328.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.01324, allocations: 4 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.01327, allocations: 30.56 kB / 328.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.01327, allocations: 4 kB / 328.3 MB, free: 4.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007081/0.01398, allocations: 403.8 kB / 328.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.01402, allocations: 77.11 kB / 328.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.0144, allocations: 270.8 kB / 329 MB, free: 3.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01442, allocations: 29.7 kB / 329.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01453, allocations: 236.4 kB / 329.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.01457, allocations: 67.55 kB / 329.3 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.01465, allocations: 65.89 kB / 329.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01475, allocations: 338.8 kB / 329.7 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.01479, allocations: 31.09 kB / 329.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.0149, allocations: 137.3 kB / 329.9 MB, free: 2.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.01508, allocations: 201.2 kB / 330.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01509, allocations: 4 kB / 330.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003874/0.01547, allocations: 271.4 kB / 330.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01549, allocations: 8 kB / 330.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002069/0.0157, allocations: 138.8 kB / 330.5 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.01601, allocations: 108 kB / 330.6 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01615, allocations: 59.91 kB / 330.7 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.01748, allocations: 1.752 MB / 332.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.01756, allocations: 19.88 kB / 332.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.01758, allocations: 8 kB / 332.5 MB, free: 15.88 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 9.094e-05/0.01767, allocations: 128.6 kB / 332.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.0177, allocations: 19.98 kB / 332.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.01787, allocations: 142 kB / 332.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01787, allocations: 3.938 kB / 332.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01788, allocations: 7.984 kB / 332.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01788, allocations: 0 / 332.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.01855, allocations: 463.7 kB / 333.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.01856, allocations: 3.938 kB / 333.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.01872, allocations: 43.97 kB / 333.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.01878, allocations: 26.5 kB / 333.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.0188, allocations: 11.98 kB / 333.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.0188, allocations: 4 kB / 333.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01881, allocations: 8 kB / 333.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.01908, allocations: 318.3 kB / 333.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.01911, allocations: 23.81 kB / 333.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.01913, allocations: 15.92 kB / 333.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.01919, allocations: 64 / 333.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.01922, allocations: 15.98 kB / 333.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.01923, allocations: 4 kB / 333.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.255e-05/0.0193, allocations: 104.5 kB / 333.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0193, allocations: 0 / 333.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.01955, allocations: 88 kB / 333.9 MB, free: 14.38 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 9.118e-05/0.01964, allocations: 80.45 kB / 333.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.02, allocations: 278.7 kB / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.02001, allocations: 8.062 kB / 334.2 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.282e-05/0.02009, allocations: 69.48 kB / 334.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.02036, allocations: 72.23 kB / 334.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.02157, allocations: 0.7279 MB / 335.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.216e-05/0.02165, allocations: 136.6 kB / 335.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.229e-05/0.02173, allocations: 38.95 kB / 335.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.02185, allocations: 115.3 kB / 335.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02186, allocations: 0 / 335.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of Templates: time 0.006026/0.02788, allocations: 4.103 MB / 339.5 MB, free: 8.777 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.895496749319136]