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.0009253/0.0009253, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.00224, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001037/0.001037, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002144, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9119/0.9119, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07701/0.989, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.1303/0.1303, allocations: 29.42 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/0.2357, allocations: 9.524 MB / 283.1 MB, free: 12.82 MB / 282.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.362e-06/1.362e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.365e-06/9.727e-06, allocations: 3.297 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.00616/0.00617, allocations: 8.009 MB / 292.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.01012, allocations: 3.61 MB / 296.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.01044, allocations: 45.59 kB / 296.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006653/0.01111, allocations: 406.2 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.01236, allocations: 0.9684 MB / 297.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.01304, allocations: 495.5 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.01464, allocations: 1.928 MB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.01523, allocations: 0.7435 MB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.01609, allocations: 1.219 MB / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007899/0.01688, allocations: 0.8531 MB / 302.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.01698, allocations: 100 kB / 302.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.01752, allocations: 491 kB / 303.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.01786, allocations: 0.6314 MB / 303.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.01818, allocations: 415.2 kB / 304.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008978/0.01907, allocations: 1.207 MB / 305.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.01908, allocations: 8 kB / 305.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01908, allocations: 0 / 305.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.0191, allocations: 0 / 305.5 MB, free: 9.512 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.001815/0.02091, allocations: 1.796 MB / 307.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.02094, allocations: 8.031 kB / 307.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.02188, allocations: 405.6 kB / 307.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.02265, allocations: 0.7134 MB / 308.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.02269, allocations: 82.47 kB / 308.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.02288, allocations: 139.8 kB / 308.7 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.0237, allocations: 0.8716 MB / 309.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.02373, allocations: 7.938 kB / 309.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.02379, allocations: 43.98 kB / 309.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.02394, allocations: 98.14 kB / 309.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.02442, allocations: 384 kB / 310 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.02788, allocations: 3.906 MB / 313.9 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.02818, allocations: 307.1 kB / 314.2 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.02833, allocations: 146.5 kB / 314.4 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.02837, allocations: 16.66 kB / 314.4 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.0284, allocations: 43.16 kB / 314.5 MB, free: 148 kB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.784e-06/0.0284, allocations: 3.938 kB / 314.5 MB, free: 144 kB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.002537/0.03094, allocations: 1.654 MB / 316.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.03098, allocations: 89.7 kB / 316.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.03131, allocations: 0.5777 MB / 316.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.03134, allocations: 37.7 kB / 316.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.03155, allocations: 0.5282 MB / 317.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.03169, allocations: 281.5 kB / 317.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.03185, allocations: 174.5 kB / 317.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.03196, allocations: 410.5 kB / 318.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.03208, allocations: 102 kB / 318.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.03233, allocations: 393.2 kB / 318.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.0328, allocations: 0.6154 MB / 319.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.0328, allocations: 0 / 319.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001334/0.03414, allocations: 0.884 MB / 320.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.03415, allocations: 9.562 kB / 320.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.03416, allocations: 8 kB / 320.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.03521, allocations: 0.5007 MB / 320.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.03556, allocations: 199.7 kB / 320.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.04005, allocations: 6.7 MB / 327.6 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.04029, allocations: 31.95 kB / 327.6 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.04033, allocations: 32 kB / 327.6 MB, free: 2.18 MB / 314.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.0001721/0.0405, allocations: 176.4 kB / 327.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.282e-05/0.04058, allocations: 71.92 kB / 327.9 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.04132, allocations: 0.6287 MB / 328.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.04132, allocations: 8 kB / 328.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.04133, allocations: 4 kB / 328.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.04133, allocations: 3.984 kB / 328.5 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.04274, allocations: 1.292 MB / 329.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.04274, allocations: 0 / 329.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.04301, allocations: 117.5 kB / 329.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.04315, allocations: 115.4 kB / 330 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/0.04367, allocations: 303.2 kB / 330.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.0437, allocations: 23.98 kB / 330.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/0.04704, allocations: 7.229 MB / 337.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.04704, allocations: 12.02 kB / 337.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.04791, allocations: 0.8907 MB / 338.5 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.04798, allocations: 27.92 kB / 338.5 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.04816, allocations: 16 kB / 338.5 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.04824, allocations: 72.41 kB / 338.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.04826, allocations: 15.98 kB / 338.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.04844, allocations: 272.5 kB / 338.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04844, allocations: 0 / 338.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006552/0.04909, allocations: 340 kB / 339.2 MB, free: 5.906 MB / 330.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.0001202/0.04921, allocations: 100.3 kB / 339.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008545/0.05007, allocations: 1.084 MB / 340.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.508e-05/0.05009, allocations: 16.97 kB / 340.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.05102, allocations: 0.9222 MB / 341.3 MB, free: 3.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.05189, allocations: 1.566 MB / 342.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.06877, allocations: 2.224 MB / 345.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.06901, allocations: 343.2 kB / 345.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.06922, allocations: 107.3 kB / 345.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.06948, allocations: 209.3 kB / 345.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.06948, allocations: 0 / 345.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of Templates: time 0.01665/0.08612, allocations: 15.44 MB / 361.2 MB, free: 15.62 MB / 362.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: 2.9142026007175446]