Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") [: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.002328/0.002328, allocations: 178.7 kB / 7.448 MB, free: 2.262 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.234/1.234, 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.000893/0.0008931, allocations: 100.8 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.06954/0.06954, allocations: 12.59 MB / 321.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3537/0.3537, allocations: 78.05 MB / 450.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.655e-06/7.665e-06, allocations: 4 kB / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 69.32 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5395, allocations: 114.5 MB / 0.6936 GB, free: 10.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.54, allocations: 83.27 kB / 0.6937 GB, free: 10.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.129/0.6689, allocations: 46.31 MB / 0.7389 GB, free: 4.121 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001865/0.6692, allocations: 37.03 kB / 0.739 GB, free: 4.086 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.007826/0.677, allocations: 2.36 MB / 0.7413 GB, free: 1.836 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.6771, allocations: 15.97 kB / 0.7413 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.681, allocations: 0.6125 MB / 0.7419 GB, free: 1.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/0.6844, allocations: 1.188 MB / 0.7431 GB, free: 316 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005985/0.685, allocations: 467.9 kB / 0.7435 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004991/0.6855, allocations: 68 kB / 0.7436 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003074/0.6886, allocations: 1.246 MB / 0.7448 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.6912, allocations: 1.257 MB / 0.746 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.6912, allocations: 0 / 0.746 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.6914, allocations: 11.91 kB / 0.746 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.6914, allocations: 31.94 kB / 0.7461 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.7032, allocations: 5.336 MB / 0.7513 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.7055, allocations: 1.28 MB / 0.7525 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.7067, allocations: 0.7485 MB / 0.7532 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.7069, allocations: 37.27 kB / 0.7533 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.7084, allocations: 0.9205 MB / 0.7542 GB, free: 6.465 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 3.417e-06/0.7084, allocations: 0 / 0.7542 GB, free: 6.465 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01903/0.7274, allocations: 5.522 MB / 0.7596 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.816e-05/0.7276, allocations: 171.4 kB / 0.7597 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.7299, allocations: 1.213 MB / 0.7609 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004424/0.7303, allocations: 29.7 kB / 0.7609 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.7306, allocations: 443.9 kB / 0.7614 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007734/0.7314, allocations: 488.6 kB / 0.7618 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.7315, allocations: 8.062 kB / 0.7618 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7317, allocations: 361.9 kB / 0.7622 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.7329, allocations: 0.6484 MB / 0.7628 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.7342, allocations: 0.8325 MB / 0.7636 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.7356, allocations: 0.7244 MB / 0.7643 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7357, allocations: 3.938 kB / 0.7643 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004489/0.7402, allocations: 2.342 MB / 0.7666 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006675/0.7408, allocations: 1.366 MB / 0.768 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7409, allocations: 4 kB / 0.768 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009659/0.7505, allocations: 2.78 MB / 0.7707 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.7517, allocations: 183.7 kB / 0.7709 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.759, allocations: 3.282 MB / 0.7741 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.7626, allocations: 286.6 kB / 0.7743 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.7628, allocations: 59.98 kB / 0.7744 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7629, allocations: 7.438 kB / 0.7744 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004393/0.7673, allocations: 2.081 MB / 0.7764 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7673, allocations: 4.438 kB / 0.7764 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009753/0.777, allocations: 2.717 MB / 0.7791 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.7783, allocations: 191.7 kB / 0.7793 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/0.7855, allocations: 3.073 MB / 0.7823 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.7883, allocations: 254.8 kB / 0.7825 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.7885, allocations: 59.95 kB / 0.7826 GB, free: 9.062 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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 61} Notification: Performance of prepare postOptimizeDAE: time 0.0005435/0.7891, allocations: 124.7 kB / 0.7827 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.7895, allocations: 185.7 kB / 0.7829 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/0.8075, allocations: 5.711 MB / 0.7884 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.8075, allocations: 16 kB / 0.7885 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.8076, allocations: 0 / 0.7885 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-05/0.8076, allocations: 11.97 kB / 0.7885 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/0.8288, allocations: 7.724 MB / 0.796 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.8288, allocations: 0 / 0.796 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.8301, allocations: 171.8 kB / 0.7962 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007631/0.8377, allocations: 2.221 MB / 0.7984 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002931/0.838, allocations: 11.98 kB / 0.7984 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/0.8601, allocations: 9.299 MB / 0.8074 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8601, allocations: 0 / 0.8074 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02033/0.8804, allocations: 6.743 MB / 0.814 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.8815, allocations: 298.5 kB / 0.8143 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/0.882, allocations: 7.906 kB / 0.8143 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/0.8841, allocations: 215.8 kB / 0.8145 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004448/0.8846, allocations: 157 kB / 0.8147 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.8847, allocations: 43.98 kB / 0.8147 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00149/0.8862, allocations: 0.9199 MB / 0.8156 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002371/0.8886, allocations: 0.7874 MB / 0.8164 GB, free: 5.98 MB / 0.5417 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,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 89 * 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 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.000486/0.8891, allocations: 158.9 kB / 0.8165 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01586/0.905, allocations: 4.605 MB / 0.821 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.905, allocations: 0 / 0.821 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006754/0.9118, allocations: 2.017 MB / 0.823 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.9137, allocations: 137.9 kB / 0.8231 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.9215, allocations: 2.829 MB / 0.8259 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.923, allocations: 1.453 MB / 0.8273 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of SimCode: time 1.223e-06/0.923, allocations: 0 / 0.8273 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.3689/1.292, allocations: 40.22 MB / 0.8666 GB, free: 129.9 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)