Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) [: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.003564/0.003564, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.463/1.463, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0009772/0.0009772, allocations: 101.5 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.532/0.532, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1776/0.7096, allocations: 75.66 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/1.083, allocations: 69.51 MB / 0.542 GB, free: 20.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/1.23, allocations: 116.1 MB / 0.6553 GB, free: 3.789 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.23, allocations: 83.95 kB / 0.6554 GB, free: 3.707 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.3884/1.619, allocations: 48.82 MB / 0.7031 GB, free: 103.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.619, allocations: 13.38 kB / 0.7031 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/1.623, allocations: 0.6072 MB / 0.7037 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/1.625, allocations: 1.152 MB / 0.7048 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004617/1.626, allocations: 473.8 kB / 0.7053 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/1.626, allocations: 70.12 kB / 0.7053 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002767/1.629, allocations: 1.192 MB / 0.7065 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/1.632, allocations: 1.222 MB / 0.7077 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.632, allocations: 0 / 0.7077 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.632, allocations: 1.062 kB / 0.7077 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/1.632, allocations: 27.41 kB / 0.7077 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/1.643, allocations: 5.414 MB / 0.713 GB, free: 96.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/1.645, allocations: 1.209 MB / 0.7142 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009853/1.646, allocations: 0.7524 MB / 0.7149 GB, free: 94.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/1.646, allocations: 0.7374 MB / 0.7156 GB, free: 93.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/1.647, allocations: 0.893 MB / 0.7165 GB, free: 92.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 4.448e-06/1.647, allocations: 0 / 0.7165 GB, free: 92.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01574/1.663, allocations: 5.334 MB / 0.7217 GB, free: 87.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/1.663, allocations: 145.7 kB / 0.7219 GB, free: 87.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/1.666, allocations: 1.164 MB / 0.723 GB, free: 85.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004554/1.666, allocations: 29.7 kB / 0.723 GB, free: 85.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/1.666, allocations: 431.6 kB / 0.7234 GB, free: 85.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009142/1.667, allocations: 484.8 kB / 0.7239 GB, free: 85.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.668, allocations: 3.938 kB / 0.7239 GB, free: 85.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/1.668, allocations: 357.9 kB / 0.7242 GB, free: 84.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.669, allocations: 0.6328 MB / 0.7249 GB, free: 84.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/1.67, allocations: 0.8217 MB / 0.7257 GB, free: 83.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/1.672, allocations: 0.7243 MB / 0.7264 GB, free: 82.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/1.672, allocations: 8 kB / 0.7264 GB, free: 82.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004795/1.677, allocations: 2.287 MB / 0.7286 GB, free: 80.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002923/1.677, allocations: 1.534 MB / 0.7301 GB, free: 78.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.677, allocations: 8 kB / 0.7301 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008386/1.685, allocations: 2.468 MB / 0.7325 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.687, allocations: 227.7 kB / 0.7327 GB, free: 75.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/1.692, allocations: 3.205 MB / 0.7359 GB, free: 72.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/1.695, allocations: 266.7 kB / 0.7361 GB, free: 72.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/1.695, allocations: 55.98 kB / 0.7362 GB, free: 72.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.695, allocations: 6.188 kB / 0.7362 GB, free: 72.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004208/1.7, allocations: 2.076 MB / 0.7382 GB, free: 70.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.7, allocations: 7.984 kB / 0.7382 GB, free: 70.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008001/1.708, allocations: 2.467 MB / 0.7406 GB, free: 67.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.709, allocations: 227.7 kB / 0.7409 GB, free: 67.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/1.714, allocations: 3.19 MB / 0.744 GB, free: 64.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/1.717, allocations: 262.7 kB / 0.7442 GB, free: 63.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/1.718, allocations: 51.98 kB / 0.7443 GB, free: 63.84 MB / 490.7 MB 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,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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.0006275/1.718, allocations: 140.4 kB / 0.7444 GB, free: 63.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008702/1.719, allocations: 173.8 kB / 0.7446 GB, free: 63.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.735, allocations: 5.378 MB / 0.7498 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/1.735, allocations: 19.94 kB / 0.7498 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.735, allocations: 0 / 0.7498 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.325e-05/1.735, allocations: 7.984 kB / 0.7498 GB, free: 58.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.754, allocations: 7.414 MB / 0.7571 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/1.754, allocations: 0 / 0.7571 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.756, allocations: 191.8 kB / 0.7573 GB, free: 50.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/1.762, allocations: 2.068 MB / 0.7593 GB, free: 48.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000395/1.763, allocations: 15.91 kB / 0.7593 GB, free: 48.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/1.78, allocations: 7.164 MB / 0.7663 GB, free: 41.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.78, allocations: 3.984 kB / 0.7663 GB, free: 41.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01781/1.798, allocations: 6.484 MB / 0.7726 GB, free: 34.59 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01867/1.816, allocations: 7.897 MB / 0.7803 GB, free: 26.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008133/1.817, allocations: 298.5 kB / 0.7806 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/1.818, allocations: 4 kB / 0.7806 GB, free: 26.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.82, allocations: 199.8 kB / 0.7808 GB, free: 26.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/1.82, allocations: 184.9 kB / 0.781 GB, free: 25.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.82, allocations: 39.98 kB / 0.781 GB, free: 25.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00114/1.821, allocations: 0.8834 MB / 0.7819 GB, free: 25.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003325/1.825, allocations: 0.7952 MB / 0.7827 GB, free: 24.26 MB / 490.7 MB 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,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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.0003984/1.825, allocations: 178.8 kB / 0.7828 GB, free: 24.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01297/1.838, allocations: 4.472 MB / 0.7872 GB, free: 19.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.838, allocations: 4.062 kB / 0.7872 GB, free: 19.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005887/1.844, allocations: 1.898 MB / 0.7891 GB, free: 17.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.846, allocations: 113.5 kB / 0.7892 GB, free: 17.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009053/1.855, allocations: 2.807 MB / 0.7919 GB, free: 14.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.857, allocations: 1.477 MB / 0.7934 GB, free: 13.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/1.857, allocations: 3.938 kB / 0.7934 GB, free: 13.22 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)