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.0008901/0.0008901, 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.00104/0.00104, allocations: 158.4 kB / 24.99 MB, free: 9.285 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.9533/0.9533, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2321/0.2321, allocations: 29.42 MB / 291.2 MB, free: 2.543 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.415e-06/2.415e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.264e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.00927/0.009303, allocations: 7.593 MB / 377.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.01313, allocations: 2.945 MB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.01352, allocations: 35.69 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.01477, allocations: 0.7387 MB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.0162, allocations: 0.7187 MB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.01695, allocations: 405.7 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.01822, allocations: 1.383 MB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006121/0.01883, allocations: 0.5452 MB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.01952, allocations: 0.7635 MB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.02015, allocations: 0.5961 MB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.922e-05/0.02023, allocations: 72 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.02088, allocations: 0.4989 MB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.02129, allocations: 486.8 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.02159, allocations: 359.2 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.02267, allocations: 1.098 MB / 387.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.02267, allocations: 4 kB / 387.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02267, allocations: 0 / 387.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.02269, allocations: 0 / 387.8 MB, free: 9.023 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.001499/0.02419, allocations: 1.355 MB / 389.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.02422, allocations: 11.98 kB / 389.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008731/0.0251, allocations: 296.1 kB / 389.5 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.02602, allocations: 0.7026 MB / 390.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.02606, allocations: 58.38 kB / 390.3 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.02621, allocations: 100.7 kB / 390.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.02707, allocations: 0.7568 MB / 391.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.02709, allocations: 3.953 kB / 391.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.02714, allocations: 35.98 kB / 391.2 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.02725, allocations: 65.97 kB / 391.2 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.02786, allocations: 407.5 kB / 391.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.03096, allocations: 3.814 MB / 395.4 MB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.0313, allocations: 219.9 kB / 395.6 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.03147, allocations: 144.4 kB / 395.8 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.0315, allocations: 8.5 kB / 395.8 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.03153, allocations: 45.81 kB / 395.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.845e-06/0.03154, allocations: 0 / 395.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.00168/0.03322, allocations: 1.168 MB / 397 MB, free: 15.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.03326, allocations: 89.55 kB / 397.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.03367, allocations: 0.5414 MB / 397.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.03373, allocations: 29.7 kB / 397.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.03396, allocations: 0.5375 MB / 398.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.03406, allocations: 194.4 kB / 398.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.03419, allocations: 148.2 kB / 398.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.03434, allocations: 0.5588 MB / 399.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.0345, allocations: 105.9 kB / 399.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.03486, allocations: 424.6 kB / 399.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.03535, allocations: 0.5723 MB / 400.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.03535, allocations: 4 kB / 400.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00102/0.03637, allocations: 0.7406 MB / 400.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.0364, allocations: 11.98 kB / 400.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006128/0.03701, allocations: 448.2 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.0375, allocations: 190.8 kB / 401.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.03779, allocations: 151.8 kB / 401.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.04112, allocations: 5.842 MB / 407.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.04143, allocations: 35.91 kB / 407.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.04147, allocations: 32 kB / 407.6 MB, free: 4.098 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.0002152/0.04168, allocations: 200.3 kB / 407.8 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.04177, allocations: 87.61 kB / 407.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.04224, allocations: 416 kB / 408.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.04224, allocations: 8 kB / 408.3 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.04225, allocations: 3.938 kB / 408.3 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.04225, allocations: 0 / 408.3 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.04353, allocations: 1.126 MB / 409.4 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.04353, allocations: 7.938 kB / 409.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.04387, allocations: 123.9 kB / 409.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.04387, allocations: 4 kB / 409.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.0439, allocations: 16 kB / 409.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.0439, allocations: 0 / 409.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.04391, allocations: 7.938 kB / 409.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.04472, allocations: 0.6822 MB / 410.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.04485, allocations: 99.47 kB / 410.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.0449, allocations: 16 kB / 410.4 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.04505, allocations: 23.97 kB / 410.4 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.0451, allocations: 36.38 kB / 410.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.04512, allocations: 23.92 kB / 410.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.04536, allocations: 346.8 kB / 410.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04536, allocations: 0 / 410.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005934/0.04596, allocations: 227.9 kB / 411 MB, free: 0.5586 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.0002656/0.04622, allocations: 142.8 kB / 411.2 MB, free: 420 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.04716, allocations: 0.9787 MB / 412.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.04716, allocations: 0 / 412.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.04735, allocations: 168.7 kB / 412.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.04783, allocations: 142.3 kB / 412.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.05014, allocations: 1.751 MB / 414.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.05031, allocations: 242.8 kB / 414.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00029/0.0506, allocations: 153.4 kB / 414.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.05071, allocations: 56.48 kB / 414.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.05071, allocations: 0 / 414.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of Templates: time 0.01123/0.06195, allocations: 8.657 MB / 423.3 MB, free: 4.258 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.221026417100802]