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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001605/0.001605, allocations: 190.9 kB / 8.136 MB, free: 0.7734 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.223/1.223, allocations: 194.2 MB / 202.8 MB, free: 1.93 MB / 162.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001705/0.001705, allocations: 109.2 kB / 247.7 MB, free: 4.941 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1529/0.1529, allocations: 37.91 MB / 330.5 MB, free: 7.02 MB / 242.8 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.945e-06, allocations: 4 kB / 389.8 MB, free: 20.11 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09444, allocations: 53.22 MB / 443 MB, free: 14.86 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/0.3781, allocations: 111.4 MB / 0.5414 GB, free: 14.11 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.3785, allocations: 93.75 kB / 0.5415 GB, free: 14.06 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.1033/0.4817, allocations: 37.51 MB / 0.5781 GB, free: 14.39 MB / 418.8 MB Notification: Performance of Transformations before backend: time 6.44e-05/0.4818, allocations: 31.94 kB / 0.5782 GB, free: 14.36 MB / 418.8 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.002463/0.4843, allocations: 1.287 MB / 0.5794 GB, free: 13.1 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4844, allocations: 8.031 kB / 0.5794 GB, free: 13.09 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.4859, allocations: 261.3 kB / 0.5797 GB, free: 12.84 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.4898, allocations: 1.553 MB / 0.5812 GB, free: 11.52 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.4898, allocations: 32 kB / 0.5812 GB, free: 11.49 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.4901, allocations: 72.47 kB / 0.5813 GB, free: 11.42 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001848/0.4919, allocations: 1.043 MB / 0.5823 GB, free: 10.62 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.494, allocations: 1.322 MB / 0.5836 GB, free: 9.23 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.4941, allocations: 15.92 kB / 0.5836 GB, free: 9.215 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.4942, allocations: 3.906 kB / 0.5836 GB, free: 9.211 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.4944, allocations: 90.17 kB / 0.5837 GB, free: 9.121 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007779/0.5022, allocations: 5.337 MB / 0.5889 GB, free: 3.484 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.5028, allocations: 474 kB / 0.5894 GB, free: 3.004 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.5034, allocations: 384.1 kB / 0.5897 GB, free: 2.625 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.5034, allocations: 16.62 kB / 0.5898 GB, free: 2.609 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.5035, allocations: 47.22 kB / 0.5898 GB, free: 2.555 MB / 418.8 MB Notification: Performance of pre-optimization done (n=69): time 2.855e-06/0.5035, allocations: 0 / 0.5898 GB, free: 2.555 MB / 418.8 MB Notification: Performance of matching and sorting (n=79): time 0.005389/0.5089, allocations: 2.683 MB / 0.5924 GB, free: 15.81 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.509, allocations: 89.77 kB / 0.5925 GB, free: 15.7 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.5096, allocations: 0.5428 MB / 0.593 GB, free: 15.15 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.5097, allocations: 25.7 kB / 0.5931 GB, free: 15.12 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.51, allocations: 0.498 MB / 0.5936 GB, free: 14.61 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.5102, allocations: 279.9 kB / 0.5938 GB, free: 14.34 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.5103, allocations: 0 / 0.5938 GB, free: 14.34 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5105, allocations: 398.7 kB / 0.5942 GB, free: 13.94 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.511, allocations: 390.5 kB / 0.5946 GB, free: 13.56 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/0.5118, allocations: 0.6747 MB / 0.5952 GB, free: 12.76 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.5125, allocations: 0.5119 MB / 0.5957 GB, free: 12.25 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5125, allocations: 4 kB / 0.5957 GB, free: 12.24 MB / 434.8 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003298/0.5158, allocations: 1.664 MB / 0.5974 GB, free: 10.55 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5158, allocations: 4 kB / 0.5974 GB, free: 10.55 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00276/0.5186, allocations: 1.319 MB / 0.5987 GB, free: 9.219 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.5207, allocations: 0.612 MB / 0.5992 GB, free: 8.594 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.5214, allocations: 171.7 kB / 0.5994 GB, free: 8.426 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.5317, allocations: 8.862 MB / 0.6081 GB, free: 15.09 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.5324, allocations: 23.98 kB / 0.6081 GB, free: 15.06 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/0.5325, allocations: 40 kB / 0.6081 GB, free: 15.02 MB / 450.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.5327, allocations: 132.7 kB / 0.6083 GB, free: 14.89 MB / 450.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.5328, allocations: 86.88 kB / 0.6083 GB, free: 14.8 MB / 450.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.5351, allocations: 1.224 MB / 0.6095 GB, free: 13.55 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5351, allocations: 8 kB / 0.6095 GB, free: 13.54 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5351, allocations: 4 kB / 0.6095 GB, free: 13.54 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.5351, allocations: 3.984 kB / 0.6095 GB, free: 13.54 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.5393, allocations: 2.377 MB / 0.6119 GB, free: 11.05 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5393, allocations: 4.406 kB / 0.6119 GB, free: 11.05 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.5398, allocations: 111.8 kB / 0.612 GB, free: 10.94 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.541, allocations: 387.8 kB / 0.6124 GB, free: 10.55 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/0.541, allocations: 19.98 kB / 0.6124 GB, free: 10.53 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/0.548, allocations: 8.161 MB / 0.6203 GB, free: 1.785 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.548, allocations: 4 kB / 0.6203 GB, free: 1.781 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002717/0.5508, allocations: 1.915 MB / 0.6222 GB, free: 15.71 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.5512, allocations: 228 kB / 0.6224 GB, free: 15.46 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.5513, allocations: 15.89 kB / 0.6224 GB, free: 15.45 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.5518, allocations: 11.98 kB / 0.6225 GB, free: 15.44 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.5519, allocations: 52.53 kB / 0.6225 GB, free: 15.39 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.552, allocations: 27.98 kB / 0.6225 GB, free: 15.36 MB / 466.8 MB Notification: Performance of sort global known variables: time 0.0005255/0.5525, allocations: 427.1 kB / 0.6229 GB, free: 14.95 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.00133/0.5539, allocations: 319.9 kB / 0.6232 GB, free: 14.63 MB / 466.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (turboGrp.w,generator.phi_el,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002851/0.5542, allocations: 179.9 kB / 0.6234 GB, free: 14.45 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.5562, allocations: 1.467 MB / 0.6248 GB, free: 12.95 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5562, allocations: 4.188 kB / 0.6249 GB, free: 12.94 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.5576, allocations: 1.012 MB / 0.6258 GB, free: 11.88 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.5584, allocations: 163.3 kB / 0.626 GB, free: 11.72 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.5624, allocations: 2.277 MB / 0.6282 GB, free: 9.359 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.5634, allocations: 1.321 MB / 0.6295 GB, free: 8.004 MB / 466.8 MB Notification: Performance of SimCode: time 4.9e-07/0.5634, allocations: 4 kB / 0.6295 GB, free: 8 MB / 466.8 MB Notification: Performance of Templates: time 0.1519/0.7154, allocations: 14.22 MB / 0.6434 GB, free: 183.5 MB / 466.8 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (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)