Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001579/0.001579, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.00174/0.00174, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 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.528/1.528, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3312/0.3312, allocations: 29.41 MB / 290.5 MB, free: 2.445 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.764e-05, allocations: 6.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.0133/0.01333, allocations: 8.922 MB / 377.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007009/0.02034, allocations: 3.369 MB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007917/0.02113, allocations: 43.62 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.02447, allocations: 1.081 MB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.02718, allocations: 0.9207 MB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.02872, allocations: 0.5103 MB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.03152, allocations: 1.85 MB / 385.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.0327, allocations: 0.7394 MB / 386.3 MB, free: 9.797 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.03431, allocations: 1.04 MB / 387.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.0357, allocations: 0.8571 MB / 388.2 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.0359, allocations: 104 kB / 388.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.03708, allocations: 0.5808 MB / 388.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008097/0.03789, allocations: 0.6779 MB / 389.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.03859, allocations: 0.4949 MB / 390.1 MB, free: 6.035 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.04117, allocations: 1.943 MB / 392 MB, free: 4.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.04118, allocations: 0 / 392 MB, free: 4.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04118, allocations: 0 / 392 MB, free: 4.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.0412, allocations: 0 / 392 MB, free: 4.086 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003297/0.04449, allocations: 1.587 MB / 393.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.04454, allocations: 11.98 kB / 393.6 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.04663, allocations: 439.6 kB / 394.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.04877, allocations: 0.9123 MB / 395 MB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.04886, allocations: 82.47 kB / 395 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.04921, allocations: 139.8 kB / 395.2 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.05185, allocations: 1.497 MB / 396.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.05189, allocations: 8 kB / 396.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.052, allocations: 39.94 kB / 396.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003135/0.05232, allocations: 98.16 kB / 396.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.05456, allocations: 1.246 MB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008541/0.0631, allocations: 4.724 MB / 402.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.06416, allocations: 0.5594 MB / 403.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.06489, allocations: 375.5 kB / 403.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.06495, allocations: 16.66 kB / 403.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.065, allocations: 39.22 kB / 403.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/0.065, allocations: 0 / 403.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.01073/0.07573, allocations: 3.229 MB / 407 MB, free: 4.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.07583, allocations: 85.77 kB / 407.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.07716, allocations: 0.6878 MB / 407.8 MB, free: 3.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.615e-05/0.07724, allocations: 41.69 kB / 407.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007405/0.07798, allocations: 0.6052 MB / 408.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.0784, allocations: 277.7 kB / 408.7 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/0.07883, allocations: 182.6 kB / 408.9 MB, free: 2.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003284/0.07916, allocations: 398.7 kB / 409.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/0.08012, allocations: 393.8 kB / 409.6 MB, free: 1.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.08147, allocations: 0.6613 MB / 410.3 MB, free: 1.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/0.08395, allocations: 1.148 MB / 411.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.08396, allocations: 8 kB / 411.5 MB, free: 15.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005434/0.0894, allocations: 1.725 MB / 413.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.08943, allocations: 8 kB / 413.2 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004117/0.09355, allocations: 1.29 MB / 414.5 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003792/0.09734, allocations: 0.7282 MB / 415.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.09834, allocations: 167.7 kB / 415.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.1182, allocations: 9.708 MB / 425.1 MB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.1195, allocations: 55.95 kB / 425.1 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.1196, allocations: 40.08 kB / 425.2 MB, free: 1.746 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000912/0.1205, allocations: 381.4 kB / 425.6 MB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.1208, allocations: 115.4 kB / 425.7 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.1247, allocations: 1.24 MB / 426.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.1247, allocations: 11.94 kB / 426.9 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.1247, allocations: 4 kB / 426.9 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.1247, allocations: 3.984 kB / 426.9 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/0.1314, allocations: 2.122 MB / 429 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1314, allocations: 0 / 429 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.1322, allocations: 115.8 kB / 429.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/0.1345, allocations: 403.5 kB / 429.6 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.1347, allocations: 27.98 kB / 429.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.1451, allocations: 8.656 MB / 438.2 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1451, allocations: 11.94 kB / 438.2 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/0.1484, allocations: 1.687 MB / 439.9 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.1488, allocations: 151.3 kB / 440.1 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.149, allocations: 28 kB / 440.1 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.1495, allocations: 27.97 kB / 440.1 MB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.1496, allocations: 72.41 kB / 440.2 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.1497, allocations: 20 kB / 440.2 MB, free: 2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008605/0.1506, allocations: 471 kB / 440.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1506, allocations: 0 / 440.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001615/0.1522, allocations: 367.9 kB / 441 MB, free: 1.184 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003961/0.1526, allocations: 143.1 kB / 441.2 MB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1438/0.2964, allocations: 1.529 MB / 442.7 MB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.2964, allocations: 0 / 442.7 MB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.2979, allocations: 1.069 MB / 443.8 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.2991, allocations: 206.4 kB / 444 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.3029, allocations: 2.576 MB / 446.6 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.3035, allocations: 0.6629 MB / 447.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004833/0.3039, allocations: 204.7 kB / 447.4 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3041, allocations: 68.8 kB / 447.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3041, allocations: 0 / 447.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of Templates: time 0.0228/0.3269, allocations: 14.86 MB / 462.3 MB, free: 104.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4742866499582306]