Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001155/0.001155, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.007335/0.007335, allocations: 168.1 kB / 24.82 MB, free: 9.203 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.9759/0.9759, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2506/0.2506, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.642e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008648/0.008674, allocations: 6.463 MB / 376.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.01356, allocations: 2.929 MB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006747/0.01423, allocations: 35.69 kB / 379.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.01527, allocations: 282.1 kB / 379.8 MB, free: 1 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.01718, allocations: 0.707 MB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009481/0.01813, allocations: 402.8 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.01986, allocations: 1.379 MB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008593/0.02072, allocations: 0.549 MB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.02207, allocations: 0.8144 MB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.02355, allocations: 0.6039 MB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.02368, allocations: 75.94 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.02443, allocations: 399.1 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.02484, allocations: 474.8 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.02524, allocations: 359.2 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.02663, allocations: 0.9382 MB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02664, allocations: 0 / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02664, allocations: 0 / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.02668, allocations: 0 / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001952/0.02863, allocations: 1.3 MB / 387.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.02868, allocations: 15.98 kB / 387.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008831/0.02956, allocations: 256.1 kB / 388 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/0.03047, allocations: 0.5934 MB / 388.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.03052, allocations: 66.31 kB / 388.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.0307, allocations: 100.6 kB / 388.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/0.03159, allocations: 0.6942 MB / 389.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.03162, allocations: 3.938 kB / 389.5 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.03168, allocations: 32 kB / 389.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.03182, allocations: 81.95 kB / 389.6 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.03244, allocations: 321.5 kB / 389.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.03696, allocations: 3.774 MB / 393.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.03728, allocations: 203.9 kB / 393.9 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.03743, allocations: 120 kB / 394 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.03747, allocations: 12.5 kB / 394 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.0375, allocations: 37.89 kB / 394.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.846e-06/0.0375, allocations: 0 / 394.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001555/0.03906, allocations: 0.8734 MB / 394.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.0391, allocations: 81.61 kB / 395 MB, free: 1.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.03955, allocations: 0.5333 MB / 395.5 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.03958, allocations: 37.7 kB / 395.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.03988, allocations: 0.5334 MB / 396.1 MB, free: 232 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.04001, allocations: 202.3 kB / 396.3 MB, free: 28 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.0402, allocations: 148.2 kB / 396.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.0404, allocations: 0.5663 MB / 397 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.04054, allocations: 77.94 kB / 397.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.04085, allocations: 404.8 kB / 397.5 MB, free: 14.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.04173, allocations: 0.5332 MB / 398 MB, free: 14.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.04173, allocations: 0 / 398 MB, free: 14.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001559/0.04329, allocations: 0.682 MB / 398.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.04332, allocations: 8 kB / 398.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006935/0.04401, allocations: 391.9 kB / 399.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.04455, allocations: 183.2 kB / 399.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.04494, allocations: 159.8 kB / 399.4 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.04908, allocations: 5.697 MB / 405.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.04948, allocations: 27.94 kB / 405.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.04952, allocations: 28 kB / 405.2 MB, free: 6.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.04977, allocations: 204.3 kB / 405.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.04989, allocations: 87.52 kB / 405.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.05038, allocations: 376.1 kB / 405.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.05039, allocations: 4 kB / 405.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.05039, allocations: 3.984 kB / 405.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.0504, allocations: 0 / 405.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.05177, allocations: 0.9468 MB / 406.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.05178, allocations: 8.156 kB / 406.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.05217, allocations: 115.9 kB / 406.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.05217, allocations: 4 kB / 406.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.0522, allocations: 15.94 kB / 406.9 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.05221, allocations: 7.938 kB / 406.9 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.05221, allocations: 4 kB / 406.9 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.05287, allocations: 0.6351 MB / 407.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.05302, allocations: 87.53 kB / 407.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.05308, allocations: 19.94 kB / 407.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.05327, allocations: 8 kB / 407.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.05333, allocations: 40.38 kB / 407.7 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.05335, allocations: 15.98 kB / 407.7 MB, free: 3.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.05359, allocations: 318.7 kB / 408.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05359, allocations: 0 / 408.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007024/0.0543, allocations: 208 kB / 408.3 MB, free: 3.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (54): * Single equations (assignments): 53 * 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.0001324/0.05443, allocations: 111.2 kB / 408.4 MB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.057, allocations: 0.9399 MB / 409.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.057, allocations: 0 / 409.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.0572, allocations: 155.4 kB / 409.5 MB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.05783, allocations: 151.8 kB / 409.6 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.06057, allocations: 1.724 MB / 411.3 MB, free: 92 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.06075, allocations: 242.8 kB / 411.6 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.06096, allocations: 89.41 kB / 411.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.0612, allocations: 194.1 kB / 411.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0612, allocations: 0 / 411.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of Templates: time 0.01277/0.07396, allocations: 8.701 MB / 420.5 MB, free: 6.961 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.156625194940716]