Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1") [: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.003506/0.003506, allocations: 173.9 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.266/1.266, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008607/0.0008603, allocations: 89.61 kB / 261.1 MB, free: 13.61 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.06483/0.06483, allocations: 12.59 MB / 321.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2909/0.2909, allocations: 78.05 MB / 450.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.952e-06/6.112e-06, allocations: 0 / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 69.33 MB / 0.5818 GB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5383, allocations: 116 MB / 0.6951 GB, free: 8.598 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.5386, allocations: 91.88 kB / 0.6952 GB, free: 8.547 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1385/0.6772, allocations: 46.62 MB / 0.7407 GB, free: 2.324 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002229/0.6775, allocations: 35.94 kB / 0.7407 GB, free: 2.289 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.008801/0.6863, allocations: 2.314 MB / 0.743 GB, free: 84 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.6864, allocations: 15.97 kB / 0.743 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.6911, allocations: 0.606 MB / 0.7436 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/0.6961, allocations: 1.142 MB / 0.7447 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007217/0.6969, allocations: 463.9 kB / 0.7452 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000742/0.6977, allocations: 75.73 kB / 0.7452 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00344/0.7011, allocations: 1.171 MB / 0.7464 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.7045, allocations: 1.194 MB / 0.7475 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.7046, allocations: 4 kB / 0.7475 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.7048, allocations: 0 / 0.7475 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.7048, allocations: 28 kB / 0.7476 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.7179, allocations: 5.307 MB / 0.7528 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.7204, allocations: 1.178 MB / 0.7539 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.7217, allocations: 0.729 MB / 0.7546 GB, free: 6.008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/0.7224, allocations: 0.7336 MB / 0.7553 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.724, allocations: 0.8812 MB / 0.7562 GB, free: 4.203 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 4.588e-06/0.724, allocations: 0 / 0.7562 GB, free: 4.203 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01774/0.7418, allocations: 5.322 MB / 0.7614 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.7419, allocations: 124 kB / 0.7615 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.7447, allocations: 1.155 MB / 0.7626 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004487/0.7452, allocations: 33.64 kB / 0.7627 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.7456, allocations: 431.5 kB / 0.7631 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.7468, allocations: 468.9 kB / 0.7635 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.7471, allocations: 0 / 0.7635 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003267/0.7475, allocations: 361.9 kB / 0.7639 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.7492, allocations: 0.6367 MB / 0.7645 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.7511, allocations: 0.7974 MB / 0.7653 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.7531, allocations: 0.7165 MB / 0.766 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.7532, allocations: 0 / 0.766 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006047/0.7592, allocations: 2.275 MB / 0.7682 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.7593, allocations: 4 kB / 0.7682 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.7593, allocations: 4 kB / 0.7682 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008929/0.7682, allocations: 2.459 MB / 0.7706 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.7696, allocations: 227.7 kB / 0.7708 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/0.7763, allocations: 3.19 MB / 0.7739 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/0.7793, allocations: 262.7 kB / 0.7742 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.7797, allocations: 55.98 kB / 0.7742 GB, free: 1.512 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004814/0.7802, allocations: 128.6 kB / 0.7744 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008001/0.781, allocations: 173.8 kB / 0.7745 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/0.7985, allocations: 5.362 MB / 0.7798 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.7985, allocations: 12 kB / 0.7798 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.7986, allocations: 3.984 kB / 0.7798 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.354e-05/0.7986, allocations: 7.984 kB / 0.7798 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/0.8209, allocations: 7.364 MB / 0.787 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.821, allocations: 0 / 0.787 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.8225, allocations: 179.8 kB / 0.7872 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007528/0.83, allocations: 2.064 MB / 0.7892 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00064/0.8307, allocations: 15.98 kB / 0.7892 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/0.8512, allocations: 7.156 MB / 0.7962 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.8512, allocations: 3.938 kB / 0.7962 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02037/0.8716, allocations: 6.489 MB / 0.8025 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/0.8725, allocations: 294.5 kB / 0.8028 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008635/0.8734, allocations: 4 kB / 0.8028 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/0.8761, allocations: 195.8 kB / 0.803 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007234/0.8768, allocations: 169 kB / 0.8031 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/0.8771, allocations: 35.98 kB / 0.8032 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002303/0.8794, allocations: 0.8831 MB / 0.804 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003439/0.8829, allocations: 0.4913 MB / 0.8045 GB, free: 2.188 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * 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: 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.0008417/0.8838, allocations: 170.9 kB / 0.8047 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01277/0.8966, allocations: 2.526 MB / 0.8072 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.8966, allocations: 0 / 0.8072 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009434/0.9061, allocations: 1.891 MB / 0.809 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.909, allocations: 117.4 kB / 0.8091 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.923, allocations: 2.667 MB / 0.8117 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002994/0.9261, allocations: 1.417 MB / 0.8131 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.9261, allocations: 0 / 0.8131 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of Templates: time 0.07379/0.9999, allocations: 25.88 MB / 0.8384 GB, free: 15.42 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)