Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.0009789/0.0009789, 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.001267/0.001267, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.9397/0.9397, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2223/0.2223, allocations: 29.42 MB / 291.2 MB, free: 2.418 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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 369.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.767e-05, allocations: 2.312 kB / 369.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009935/0.009953, allocations: 10.33 MB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.01503, allocations: 3.848 MB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.01543, allocations: 47.62 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.01728, allocations: 1.167 MB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.01876, allocations: 0.9828 MB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000994/0.01975, allocations: 0.6974 MB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.0215, allocations: 2.119 MB / 388.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009781/0.02248, allocations: 0.9207 MB / 389.7 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.02372, allocations: 1.2 MB / 390.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.02476, allocations: 0.9506 MB / 391.9 MB, free: 4.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.02492, allocations: 144 kB / 392 MB, free: 4.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.02572, allocations: 0.6237 MB / 392.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005593/0.02628, allocations: 0.7638 MB / 393.4 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.02684, allocations: 0.5691 MB / 394 MB, free: 2.809 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.02846, allocations: 1.639 MB / 395.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.02846, allocations: 0 / 395.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.02846, allocations: 0 / 395.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.02847, allocations: 3.938 kB / 395.6 MB, free: 1.16 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.002459/0.03093, allocations: 1.887 MB / 397.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.03097, allocations: 11.98 kB / 397.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.03262, allocations: 463.6 kB / 398 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.03414, allocations: 1.01 MB / 399 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.03421, allocations: 90.73 kB / 399.1 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.03449, allocations: 156.5 kB / 399.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.03612, allocations: 1.139 MB / 400.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.03616, allocations: 7.984 kB / 400.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.03627, allocations: 51.98 kB / 400.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/0.03649, allocations: 98.38 kB / 400.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.0377, allocations: 0.5878 MB / 401.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00567/0.04337, allocations: 5.029 MB / 406.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.04408, allocations: 412.8 kB / 406.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.04442, allocations: 205 kB / 406.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.04447, allocations: 20.64 kB / 406.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.04451, allocations: 49.98 kB / 406.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/0.04451, allocations: 0 / 406.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.004861/0.04937, allocations: 2.575 MB / 409.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.04944, allocations: 170.8 kB / 409.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.05014, allocations: 0.7218 MB / 410.3 MB, free: 1.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.05019, allocations: 37.7 kB / 410.3 MB, free: 1.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.05059, allocations: 0.7096 MB / 411 MB, free: 1.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.05081, allocations: 317.3 kB / 411.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.05107, allocations: 212.5 kB / 411.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002695/0.05134, allocations: 0.5899 MB / 412.1 MB, free: 32 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.05171, allocations: 180.8 kB / 412.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.05228, allocations: 0.627 MB / 412.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.05325, allocations: 0.8045 MB / 413.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.05325, allocations: 4 kB / 413.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.01127/0.06452, allocations: 1.19 MB / 414.9 MB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.06454, allocations: 8.344 kB / 414.9 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001711/0.06625, allocations: 0.8166 MB / 415.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.07693, allocations: 0.5211 MB / 416.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008908/0.07782, allocations: 311.6 kB / 416.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009339/0.08716, allocations: 14.14 MB / 430.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.08774, allocations: 71.78 kB / 430.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.0878, allocations: 47.98 kB / 430.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006053/0.08841, allocations: 313.3 kB / 431.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005762/0.08899, allocations: 0.6192 MB / 431.8 MB, free: 10.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009508/0.08994, allocations: 0.8008 MB / 432.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.16e-06/0.08994, allocations: 7.938 kB / 432.6 MB, free: 10 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002359/0.0923, allocations: 1.182 MB / 433.8 MB, free: 8.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.09232, allocations: 15.94 kB / 433.8 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001643/0.09396, allocations: 0.7974 MB / 434.6 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.09549, allocations: 0.5175 MB / 435.1 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.09601, allocations: 207.6 kB / 435.3 MB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/0.1033, allocations: 10.46 MB / 445.7 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.1038, allocations: 59.91 kB / 445.8 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.1038, allocations: 40 kB / 445.8 MB, free: 12.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.1041, allocations: 339.8 kB / 446.2 MB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.1043, allocations: 119.4 kB / 446.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.1058, allocations: 0.8372 MB / 447.1 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.1058, allocations: 12 kB / 447.1 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1058, allocations: 4 kB / 447.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1058, allocations: 3.984 kB / 447.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.109, allocations: 2.055 MB / 449.2 MB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.109, allocations: 4 kB / 449.2 MB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.1094, allocations: 135.8 kB / 449.3 MB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007621/0.1101, allocations: 301.8 kB / 449.6 MB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.1102, allocations: 35.86 kB / 449.7 MB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1411/0.2513, allocations: 10.09 MB / 459.8 MB, free: 115 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2513, allocations: 5.219 kB / 459.8 MB, free: 115 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.2529, allocations: 1.219 MB / 461 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.2532, allocations: 168.8 kB / 461.1 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.2532, allocations: 36.06 kB / 461.2 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.2535, allocations: 34.73 kB / 461.2 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2536, allocations: 74.14 kB / 461.3 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.2537, allocations: 30.53 kB / 461.3 MB, free: 114.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000308/0.254, allocations: 446 kB / 461.8 MB, free: 114.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.254, allocations: 1.469 kB / 461.8 MB, free: 114.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001335/0.2553, allocations: 0.625 MB / 462.4 MB, free: 114.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,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 (66): * Single equations (assignments): 60 * 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.0002673/0.2556, allocations: 154.8 kB / 462.5 MB, free: 114.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.2579, allocations: 3.121 MB / 465.7 MB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2579, allocations: 3.062 kB / 465.7 MB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007112/0.2586, allocations: 1.235 MB / 466.9 MB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.2593, allocations: 228.7 kB / 467.1 MB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.2622, allocations: 2.592 MB / 469.7 MB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2624, allocations: 380.6 kB / 470.1 MB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004751/0.2629, allocations: 296.4 kB / 470.4 MB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.263, allocations: 78.05 kB / 470.4 MB, free: 110.5 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.263, allocations: 0 / 470.4 MB, free: 110.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02224/0.2853, allocations: 21.7 MB / 492.1 MB, free: 108.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.706135908840224]