Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.EXST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1") [: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.002485/0.002485, allocations: 189.9 kB / 7.457 MB, free: 2.52 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.041/1.041, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.000867/0.000867, allocations: 91.03 kB / 261.1 MB, free: 13.53 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.05831/0.05831, allocations: 12.6 MB / 321.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2978/0.2978, allocations: 78.06 MB / 450.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.65e-06, allocations: 0 / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 69.32 MB / 0.5818 GB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4898, allocations: 112.3 MB / 0.6915 GB, free: 11.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.4901, allocations: 94.98 kB / 0.6916 GB, free: 11.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1199/0.61, allocations: 41.59 MB / 0.7322 GB, free: 9.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.6102, allocations: 31.94 kB / 0.7322 GB, free: 9.871 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.007418/0.6177, allocations: 2.171 MB / 0.7343 GB, free: 7.801 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6177, allocations: 15.97 kB / 0.7344 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/0.6217, allocations: 0.582 MB / 0.7349 GB, free: 7.242 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.6245, allocations: 1.036 MB / 0.7359 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006767/0.6252, allocations: 475.8 kB / 0.7364 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/0.6257, allocations: 63.91 kB / 0.7365 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002755/0.6284, allocations: 1.106 MB / 0.7375 GB, free: 5.141 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.6311, allocations: 1.097 MB / 0.7386 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.6312, allocations: 3.938 kB / 0.7386 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.6313, allocations: 0 / 0.7386 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.6314, allocations: 24 kB / 0.7386 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.6418, allocations: 4.829 MB / 0.7433 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.6438, allocations: 1.108 MB / 0.7444 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.6449, allocations: 0.7044 MB / 0.7451 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.6451, allocations: 24.97 kB / 0.7451 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6452, allocations: 57.69 kB / 0.7452 GB, free: 15.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.6452, allocations: 0 / 0.7452 GB, free: 15.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=128): time 0.01726/0.6624, allocations: 5.33 MB / 0.7504 GB, free: 10.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.6625, allocations: 145.5 kB / 0.7505 GB, free: 10.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.665, allocations: 1.076 MB / 0.7516 GB, free: 9.008 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.6653, allocations: 25.7 kB / 0.7516 GB, free: 8.977 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.6657, allocations: 383 kB / 0.752 GB, free: 8.594 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008517/0.6665, allocations: 441.3 kB / 0.7524 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.6667, allocations: 0 / 0.7524 GB, free: 8.156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6669, allocations: 365.8 kB / 0.7528 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6682, allocations: 0.582 MB / 0.7533 GB, free: 7.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.6695, allocations: 0.7489 MB / 0.7541 GB, free: 6.418 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6709, allocations: 0.6545 MB / 0.7547 GB, free: 5.762 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6709, allocations: 0 / 0.7547 GB, free: 5.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004522/0.6754, allocations: 2.085 MB / 0.7567 GB, free: 3.664 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004916/0.6759, allocations: 1.347 MB / 0.758 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.6759, allocations: 4 kB / 0.758 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009544/0.6855, allocations: 2.572 MB / 0.7606 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.6871, allocations: 175.7 kB / 0.7607 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008045/0.6951, allocations: 3.082 MB / 0.7637 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.6977, allocations: 254.8 kB / 0.764 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.698, allocations: 47.98 kB / 0.764 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6981, allocations: 4 kB / 0.764 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004035/0.7021, allocations: 1.886 MB / 0.7659 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.7021, allocations: 4 kB / 0.7659 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/0.7126, allocations: 2.568 MB / 0.7684 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.7137, allocations: 167.7 kB / 0.7685 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008154/0.7219, allocations: 3.077 MB / 0.7715 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.7245, allocations: 234.9 kB / 0.7718 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.7247, allocations: 51.97 kB / 0.7718 GB, free: 4.016 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 40} Notification: Performance of prepare postOptimizeDAE: time 0.0004326/0.7252, allocations: 116.8 kB / 0.7719 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/0.7258, allocations: 162 kB / 0.7721 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/0.7431, allocations: 5.373 MB / 0.7773 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.7431, allocations: 12 kB / 0.7773 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7432, allocations: 0 / 0.7773 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-05/0.7432, allocations: 7.969 kB / 0.7773 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/0.765, allocations: 7.367 MB / 0.7845 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.765, allocations: 7.844 kB / 0.7846 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/0.768, allocations: 0.5151 MB / 0.7851 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00754/0.7755, allocations: 2.143 MB / 0.7871 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002846/0.7758, allocations: 15.98 kB / 0.7872 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02235/0.7982, allocations: 10.24 MB / 0.7972 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.7982, allocations: 3.906 kB / 0.7972 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01966/0.8179, allocations: 6.495 MB / 0.8035 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/0.8188, allocations: 282.6 kB / 0.8038 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005913/0.8194, allocations: 0 / 0.8038 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.8216, allocations: 195.8 kB / 0.804 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004774/0.8221, allocations: 145 kB / 0.8041 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.8223, allocations: 35.98 kB / 0.8041 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001565/0.8239, allocations: 0.8175 MB / 0.8049 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002635/0.8265, allocations: 0.7134 MB / 0.8056 GB, free: 0.8281 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003907/0.8269, allocations: 155 kB / 0.8058 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01551/0.8424, allocations: 4.592 MB / 0.8103 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.8425, allocations: 4 kB / 0.8103 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009208/0.8517, allocations: 2.47 MB / 0.8127 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.8534, allocations: 109.2 kB / 0.8128 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/0.8602, allocations: 2.534 MB / 0.8153 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.8616, allocations: 1.364 MB / 0.8166 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/0.8616, allocations: 4 kB / 0.8166 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of Templates: time 0.05439/0.916, allocations: 36.39 MB / 0.8521 GB, free: 1.062 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1)