Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI") [: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 4.0.0+maint.om/package.mo): time 0.003959/0.003959, allocations: 180.6 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.4 MB / 229.3 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 94.89 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4191/0.4191, allocations: 78.06 MB / 409 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.262e-06, allocations: 0 / 484.3 MB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 69.35 MB / 0.5407 GB, free: 21.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.3809, allocations: 109.5 MB / 0.6477 GB, free: 11.17 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.3812, allocations: 83.95 kB / 0.6478 GB, free: 11.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3105/0.6917, allocations: 41.49 MB / 0.6883 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001286/0.6919, allocations: 31.25 kB / 0.6883 GB, free: 105.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006385/0.6983, allocations: 2.103 MB / 0.6904 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6984, allocations: 9.625 kB / 0.6904 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/0.7023, allocations: 0.5835 MB / 0.6909 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.7048, allocations: 0.9912 MB / 0.6919 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.7052, allocations: 428.8 kB / 0.6923 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.7056, allocations: 61.5 kB / 0.6924 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002532/0.7082, allocations: 1.07 MB / 0.6934 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.7105, allocations: 1.099 MB / 0.6945 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.7106, allocations: 0 / 0.6945 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.7107, allocations: 3.906 kB / 0.6945 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.7107, allocations: 23.31 kB / 0.6945 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009337/0.7201, allocations: 4.793 MB / 0.6992 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.7221, allocations: 1.142 MB / 0.7003 GB, free: 99.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.7235, allocations: 0.6852 MB / 0.701 GB, free: 99.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.7237, allocations: 23.2 kB / 0.701 GB, free: 99.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.7238, allocations: 45.56 kB / 0.701 GB, free: 99.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 4.799e-06/0.7238, allocations: 0 / 0.701 GB, free: 99.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.0207/0.7445, allocations: 5.241 MB / 0.7062 GB, free: 98.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.7446, allocations: 142.9 kB / 0.7063 GB, free: 98.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.7464, allocations: 1.009 MB / 0.7073 GB, free: 97.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003131/0.7468, allocations: 27.48 kB / 0.7073 GB, free: 97.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.747, allocations: 391.8 kB / 0.7077 GB, free: 97.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007072/0.7477, allocations: 443.8 kB / 0.7081 GB, free: 97.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.7479, allocations: 0 / 0.7081 GB, free: 97.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.748, allocations: 360.6 kB / 0.7084 GB, free: 96.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.7491, allocations: 0.5578 MB / 0.709 GB, free: 96.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.7503, allocations: 0.7209 MB / 0.7097 GB, free: 96.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.7517, allocations: 0.629 MB / 0.7103 GB, free: 95.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.7517, allocations: 2.406 kB / 0.7103 GB, free: 95.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004654/0.7564, allocations: 2.064 MB / 0.7123 GB, free: 94.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.7567, allocations: 1.436 MB / 0.7137 GB, free: 93.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.7567, allocations: 12.41 kB / 0.7137 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00964/0.7664, allocations: 2.592 MB / 0.7163 GB, free: 91.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.7673, allocations: 159.2 kB / 0.7164 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/0.7739, allocations: 2.911 MB / 0.7193 GB, free: 88.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.7762, allocations: 222.8 kB / 0.7195 GB, free: 88.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/0.7765, allocations: 47.98 kB / 0.7195 GB, free: 88.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.7765, allocations: 0 / 0.7195 GB, free: 88.72 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004011/0.7806, allocations: 1.874 MB / 0.7214 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7806, allocations: 10.61 kB / 0.7214 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008696/0.7893, allocations: 2.584 MB / 0.7239 GB, free: 84.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.7902, allocations: 159.8 kB / 0.724 GB, free: 84.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.7965, allocations: 2.886 MB / 0.7269 GB, free: 81.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.7988, allocations: 210.9 kB / 0.7271 GB, free: 80.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.799, allocations: 43.98 kB / 0.7271 GB, free: 80.94 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eXNI.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: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.0004629/0.7995, allocations: 136.5 kB / 0.7272 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005585/0.8, allocations: 154.1 kB / 0.7274 GB, free: 80.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/0.8164, allocations: 5.383 MB / 0.7326 GB, free: 75.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/0.8166, allocations: 12 kB / 0.7327 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.8166, allocations: 0 / 0.7327 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.908e-05/0.8166, allocations: 11.97 kB / 0.7327 GB, free: 75.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/0.8371, allocations: 7.257 MB / 0.7398 GB, free: 67.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.8371, allocations: 0 / 0.7398 GB, free: 67.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.8382, allocations: 143.8 kB / 0.7399 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007073/0.8453, allocations: 2.123 MB / 0.742 GB, free: 65.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/0.8456, allocations: 15.98 kB / 0.742 GB, free: 65.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01944/0.8651, allocations: 8.675 MB / 0.7504 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8651, allocations: 11.94 kB / 0.7505 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01794/0.8831, allocations: 6.388 MB / 0.7567 GB, free: 50.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/0.8838, allocations: 266.8 kB / 0.757 GB, free: 50.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006804/0.8845, allocations: 0 / 0.757 GB, free: 50.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/0.8867, allocations: 163.8 kB / 0.7571 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.8872, allocations: 141.1 kB / 0.7572 GB, free: 49.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.8874, allocations: 39.98 kB / 0.7573 GB, free: 49.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001282/0.8887, allocations: 0.7693 MB / 0.758 GB, free: 48.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002474/0.8912, allocations: 0.7017 MB / 0.7587 GB, free: 48.23 MB / 490.7 MB 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,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003728/0.8915, allocations: 163.8 kB / 0.7589 GB, free: 48.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.014/0.9056, allocations: 4.213 MB / 0.763 GB, free: 43.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.9056, allocations: 0 / 0.763 GB, free: 43.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006125/0.9117, allocations: 1.911 MB / 0.7649 GB, free: 41.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.9131, allocations: 105.1 kB / 0.765 GB, free: 41.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/0.9208, allocations: 2.551 MB / 0.7674 GB, free: 39.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.922, allocations: 1.338 MB / 0.7688 GB, free: 37.89 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.922, allocations: 0 / 0.7688 GB, free: 37.89 MB / 490.7 MB Notification: Performance of Templates: time 0.05179/0.9738, allocations: 35.49 MB / 0.8034 GB, free: 2.52 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)