Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") [: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.3+maint.om/package.mo): time 0.002942/0.002942, allocations: 174.4 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009134/0.0009133, allocations: 97.59 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06972/0.06972, allocations: 12.59 MB / 321.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.281/0.281, allocations: 78.05 MB / 450.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.051e-06, allocations: 0 / 0.5141 GB, free: 30.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 69.32 MB / 0.5818 GB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3205/0.4441, allocations: 111.5 MB / 0.6907 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4444, allocations: 90.77 kB / 0.6908 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1144/0.5588, allocations: 40.18 MB / 0.7301 GB, free: 11.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.559, allocations: 39.88 kB / 0.7301 GB, free: 11.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00635/0.5653, allocations: 2.108 MB / 0.7322 GB, free: 9.812 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5654, allocations: 11.97 kB / 0.7322 GB, free: 9.801 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.5692, allocations: 0.5805 MB / 0.7327 GB, free: 9.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.5719, allocations: 0.9929 MB / 0.7337 GB, free: 8.461 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/0.5725, allocations: 400.7 kB / 0.7341 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.5729, allocations: 63.28 kB / 0.7342 GB, free: 7.945 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002467/0.5754, allocations: 1.083 MB / 0.7352 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.5777, allocations: 1.086 MB / 0.7363 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.5778, allocations: 0 / 0.7363 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.5779, allocations: 4 kB / 0.7363 GB, free: 6.535 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.578, allocations: 24 kB / 0.7363 GB, free: 6.512 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009803/0.5878, allocations: 4.813 MB / 0.741 GB, free: 2.695 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.5896, allocations: 1.021 MB / 0.742 GB, free: 2.051 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.5908, allocations: 0.6906 MB / 0.7427 GB, free: 1.672 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.591, allocations: 28.95 kB / 0.7427 GB, free: 1.645 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.5924, allocations: 0.8119 MB / 0.7435 GB, free: 1.102 MB / 474.7 MB Notification: Performance of pre-optimization done (n=125): time 3.316e-06/0.5924, allocations: 0 / 0.7435 GB, free: 1.102 MB / 474.7 MB Notification: Performance of matching and sorting (n=125): time 0.01704/0.6095, allocations: 5.121 MB / 0.7485 GB, free: 12.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.6096, allocations: 123.7 kB / 0.7486 GB, free: 12.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.6117, allocations: 1.039 MB / 0.7496 GB, free: 11.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003417/0.6121, allocations: 25.7 kB / 0.7496 GB, free: 11.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.6124, allocations: 386.7 kB / 0.75 GB, free: 10.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/0.6132, allocations: 437.4 kB / 0.7504 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.6134, allocations: 0 / 0.7504 GB, free: 10.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.6136, allocations: 354 kB / 0.7508 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.6148, allocations: 0.565 MB / 0.7513 GB, free: 9.379 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.6161, allocations: 0.7124 MB / 0.752 GB, free: 8.617 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.6176, allocations: 0.6349 MB / 0.7526 GB, free: 7.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6176, allocations: 0 / 0.7526 GB, free: 7.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004921/0.6225, allocations: 2.054 MB / 0.7546 GB, free: 5.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6226, allocations: 8 kB / 0.7547 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.6226, allocations: 11.84 kB / 0.7547 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00913/0.6317, allocations: 2.568 MB / 0.7572 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/0.6327, allocations: 155.7 kB / 0.7573 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/0.6391, allocations: 2.854 MB / 0.7601 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.6414, allocations: 242.8 kB / 0.7603 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.6416, allocations: 47.92 kB / 0.7604 GB, free: 0 / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sCRX.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0004147/0.6421, allocations: 112.9 kB / 0.7605 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005067/0.6426, allocations: 162 kB / 0.7606 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/0.6591, allocations: 5.317 MB / 0.7658 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.6592, allocations: 12 kB / 0.7659 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6592, allocations: 0 / 0.7659 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/0.6592, allocations: 11.97 kB / 0.7659 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/0.6791, allocations: 7.088 MB / 0.7728 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.6792, allocations: 8.031 kB / 0.7728 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6803, allocations: 139.8 kB / 0.7729 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007102/0.6874, allocations: 2.064 MB / 0.7749 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/0.6877, allocations: 16 kB / 0.775 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.7063, allocations: 7.164 MB / 0.782 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7063, allocations: 3.938 kB / 0.782 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01826/0.7246, allocations: 6.244 MB / 0.7881 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000758/0.7254, allocations: 266.9 kB / 0.7883 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/0.726, allocations: 11.91 kB / 0.7883 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.728, allocations: 179.8 kB / 0.7885 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/0.7284, allocations: 149 kB / 0.7886 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.7286, allocations: 35.98 kB / 0.7887 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001268/0.7299, allocations: 0.793 MB / 0.7894 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001524/0.7314, allocations: 459.2 kB / 0.7899 GB, free: 1.484 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003862/0.7318, allocations: 150.9 kB / 0.79 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007506/0.7393, allocations: 2.386 MB / 0.7924 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7393, allocations: 7.938 kB / 0.7924 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006059/0.7454, allocations: 1.813 MB / 0.7941 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.7464, allocations: 109.1 kB / 0.7942 GB, free: 13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005776/0.7522, allocations: 2.336 MB / 0.7965 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.7535, allocations: 1.335 MB / 0.7978 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/0.7535, allocations: 0 / 0.7978 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.03681/0.7903, allocations: 23.5 MB / 0.8208 GB, free: 1.738 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)