Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.001247/0.001247, 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.001103/0.001103, allocations: 169.8 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.9091/0.9091, allocations: 177.1 MB / 206 MB, free: 4.531 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.1226/0.1226, allocations: 29.42 MB / 292 MB, free: 2.656 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.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.586e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.006964/0.00698, allocations: 8.195 MB / 379.1 MB, free: 24.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.01101, allocations: 3.183 MB / 382.2 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.01163, allocations: 55.56 kB / 382.3 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.01252, allocations: 349.4 kB / 382.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.01387, allocations: 0.835 MB / 383.5 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007123/0.01458, allocations: 491 kB / 384 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.0161, allocations: 1.913 MB / 385.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008881/0.01698, allocations: 0.94 MB / 386.8 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.01796, allocations: 1.087 MB / 387.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.01871, allocations: 0.7284 MB / 388.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.01886, allocations: 140 kB / 388.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.01942, allocations: 407.4 kB / 389.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.01966, allocations: 0.5181 MB / 389.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.01999, allocations: 482.9 kB / 390.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.02098, allocations: 1.32 MB / 391.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.02099, allocations: 0 / 391.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02099, allocations: 0 / 391.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.02101, allocations: 0 / 391.5 MB, free: 11.62 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.00162/0.02263, allocations: 1.674 MB / 393.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.02266, allocations: 12.03 kB / 393.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/0.02317, allocations: 283.9 kB / 393.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.02394, allocations: 0.8534 MB / 394.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.02397, allocations: 78.44 kB / 394.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.02413, allocations: 128.1 kB / 394.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.02489, allocations: 0.9133 MB / 395.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.02492, allocations: 7.953 kB / 395.4 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.02497, allocations: 40 kB / 395.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/0.02504, allocations: 77.91 kB / 395.5 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.02548, allocations: 373.5 kB / 395.9 MB, free: 7.02 MB / 314.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.02857, allocations: 4.657 MB / 400.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.02897, allocations: 408.3 kB / 400.9 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.0291, allocations: 156.8 kB / 401.1 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.02913, allocations: 16.5 kB / 401.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.02916, allocations: 41.89 kB / 401.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=64): time 2.103e-06/0.02916, allocations: 0 / 401.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.001954/0.03111, allocations: 1.275 MB / 402.4 MB, free: 192 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.03116, allocations: 162.9 kB / 402.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.0316, allocations: 0.6709 MB / 403.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.03164, allocations: 41.7 kB / 403.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.03194, allocations: 0.6314 MB / 403.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.03208, allocations: 269.7 kB / 404.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.03224, allocations: 176.1 kB / 404.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.03241, allocations: 0.5819 MB / 405 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.03255, allocations: 107.6 kB / 405.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.03285, allocations: 0.5178 MB / 405.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.03333, allocations: 0.6148 MB / 406.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.03333, allocations: 0 / 406.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001153/0.03448, allocations: 0.8511 MB / 407 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.0345, allocations: 14.12 kB / 407.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.03451, allocations: 8.312 kB / 407.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009273/0.03544, allocations: 423.7 kB / 407.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.03578, allocations: 159.7 kB / 407.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.03931, allocations: 3.672 MB / 411.3 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.03963, allocations: 39.95 kB / 411.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.03968, allocations: 24 kB / 411.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003047/0.03998, allocations: 244.8 kB / 411.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003213/0.0403, allocations: 0.5136 MB / 412.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005001/0.0408, allocations: 0.611 MB / 412.7 MB, free: 5.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.04081, allocations: 4 kB / 412.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.001097/0.0419, allocations: 0.8199 MB / 413.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.04192, allocations: 8 kB / 413.6 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.04193, allocations: 8.312 kB / 413.6 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008293/0.04275, allocations: 399.5 kB / 414 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.04308, allocations: 163.8 kB / 414.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.04637, allocations: 3.587 MB / 417.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.04677, allocations: 39.89 kB / 417.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.04681, allocations: 31.98 kB / 417.8 MB, free: 15.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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 {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.04701, allocations: 327.8 kB / 418.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.04715, allocations: 107.4 kB / 418.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006301/0.04778, allocations: 493.5 kB / 418.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.04778, allocations: 15.98 kB / 418.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.04779, allocations: 4 kB / 418.7 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.0478, allocations: 7.922 kB / 418.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.04917, allocations: 1.133 MB / 419.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.04917, allocations: 0 / 419.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.04959, allocations: 155.8 kB / 420 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.04959, allocations: 11.88 kB / 420 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.04962, allocations: 20 kB / 420 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.04963, allocations: 12.02 kB / 420 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.04963, allocations: 3.938 kB / 420 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/0.05035, allocations: 0.8521 MB / 420.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.05052, allocations: 143.2 kB / 421 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.05059, allocations: 23.98 kB / 421.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.0508, allocations: 20 kB / 421.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.05085, allocations: 48.5 kB / 421.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.05088, allocations: 12 kB / 421.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.05111, allocations: 398.8 kB / 421.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05111, allocations: 4 kB / 421.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001009/0.05212, allocations: 467.9 kB / 422 MB, free: 11.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.05234, allocations: 147.9 kB / 422.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.05396, allocations: 1.494 MB / 423.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.05396, allocations: 0 / 423.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.05417, allocations: 200.5 kB / 423.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.05484, allocations: 220.4 kB / 424 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.05783, allocations: 2.127 MB / 426.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.05808, allocations: 304.4 kB / 426.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003956/0.05847, allocations: 122.8 kB / 426.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.05885, allocations: 270.1 kB / 426.8 MB, free: 6.582 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.05885, allocations: 0 / 426.8 MB, free: 6.582 MB / 346.7 MB Notification: Performance of Templates: time 0.02107/0.07992, allocations: 17.84 MB / 444.7 MB, free: 4.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3517923252657056]