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.0008305/0.0008305, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009103/0.0009103, allocations: 162.6 kB / 24.99 MB, free: 9.273 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.9646/0.9646, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2338/0.2338, allocations: 29.42 MB / 291.2 MB, free: 2.434 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.673e-06/1.673e-06, allocations: 0 / 369.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.258e-05, allocations: 2.312 kB / 369.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01952/0.01955, allocations: 9.56 MB / 379.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.03041, allocations: 3.525 MB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.03107, allocations: 43.62 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.03283, allocations: 1.1 MB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.0343, allocations: 0.9285 MB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009945/0.0353, allocations: 0.5057 MB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.03731, allocations: 1.854 MB / 387.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000926/0.03824, allocations: 0.7511 MB / 387.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009745/0.03921, allocations: 1.044 MB / 388.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007659/0.03998, allocations: 0.8571 MB / 389.8 MB, free: 7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.04009, allocations: 108 kB / 389.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.04078, allocations: 0.5886 MB / 390.5 MB, free: 6.305 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004241/0.0412, allocations: 0.6819 MB / 391.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.04157, allocations: 0.4911 MB / 391.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.04277, allocations: 1.456 MB / 393.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.04277, allocations: 4 kB / 393.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.04277, allocations: 0 / 393.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.04279, allocations: 0 / 393.1 MB, free: 3.664 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.001773/0.04456, allocations: 1.718 MB / 394.9 MB, free: 1.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.04459, allocations: 11.98 kB / 394.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.04567, allocations: 431.7 kB / 395.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.04673, allocations: 0.8799 MB / 396.2 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.04678, allocations: 82.47 kB / 396.2 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.04698, allocations: 135.8 kB / 396.4 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.04812, allocations: 0.9788 MB / 397.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.04815, allocations: 0 / 397.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.04821, allocations: 44 kB / 397.4 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.04838, allocations: 98.16 kB / 397.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.0492, allocations: 0.5397 MB / 398 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.05301, allocations: 4.83 MB / 402.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.05345, allocations: 341.7 kB / 403.2 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.05369, allocations: 193.3 kB / 403.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.05372, allocations: 16.66 kB / 403.4 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.05375, allocations: 53.97 kB / 403.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.924e-06/0.05375, allocations: 0 / 403.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003229/0.05698, allocations: 2.181 MB / 405.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.05702, allocations: 89.7 kB / 405.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.05752, allocations: 0.6867 MB / 406.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.05756, allocations: 49.81 kB / 406.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.05786, allocations: 0.6664 MB / 407.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.05802, allocations: 289.6 kB / 407.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.05819, allocations: 180.3 kB / 407.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.05837, allocations: 0.5898 MB / 408.2 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.05861, allocations: 157.9 kB / 408.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.05902, allocations: 0.5465 MB / 408.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.05972, allocations: 0.7948 MB / 409.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.05972, allocations: 0 / 409.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001607/0.06133, allocations: 1.166 MB / 410.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.06135, allocations: 12 kB / 410.9 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001175/0.06252, allocations: 0.778 MB / 411.6 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.06374, allocations: 0.5293 MB / 412.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.06408, allocations: 175.7 kB / 412.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.06991, allocations: 9.198 MB / 421.5 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.07023, allocations: 47.95 kB / 421.6 MB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.07027, allocations: 48.08 kB / 421.6 MB, free: 5.738 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.0002249/0.0705, allocations: 220.2 kB / 421.8 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.07061, allocations: 119.4 kB / 422 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.07165, allocations: 0.785 MB / 422.7 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.07166, allocations: 15.92 kB / 422.8 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.07166, allocations: 4 kB / 422.8 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.07167, allocations: 3.984 kB / 422.8 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.07366, allocations: 1.701 MB / 424.5 MB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.07366, allocations: 4 kB / 424.5 MB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.07391, allocations: 107.9 kB / 424.6 MB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005866/0.0745, allocations: 298.2 kB / 424.9 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.07454, allocations: 23.98 kB / 424.9 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.07885, allocations: 10.08 MB / 435 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.07885, allocations: 0 / 435 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.08009, allocations: 1.114 MB / 436.1 MB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.08027, allocations: 143.4 kB / 436.2 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.08034, allocations: 24 kB / 436.2 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.08056, allocations: 27.97 kB / 436.3 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.08065, allocations: 60.48 kB / 436.3 MB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.08068, allocations: 27.92 kB / 436.4 MB, free: 6.152 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000317/0.081, allocations: 430.9 kB / 436.8 MB, free: 5.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.081, allocations: 0 / 436.8 MB, free: 5.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008647/0.08186, allocations: 359.9 kB / 437.1 MB, free: 5.387 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.0002789/0.08214, allocations: 151.1 kB / 437.3 MB, free: 5.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.08342, allocations: 1.406 MB / 438.7 MB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.08342, allocations: 4.062 kB / 438.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.08424, allocations: 1.217 MB / 439.9 MB, free: 2.438 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.08481, allocations: 193.5 kB / 440.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/0.2203, allocations: 2.275 MB / 442.4 MB, free: 91.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.2207, allocations: 333.8 kB / 442.7 MB, free: 90.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.2211, allocations: 190.8 kB / 442.9 MB, free: 90.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2212, allocations: 66.2 kB / 442.9 MB, free: 90.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2212, allocations: 0 / 442.9 MB, free: 90.94 MB / 410.7 MB Notification: Performance of Templates: time 0.01429/0.2355, allocations: 14.99 MB / 457.9 MB, free: 89.77 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.482249641092494]