Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.003941/0.003941, allocations: 187 kB / 7.46 MB, free: 2.52 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.265/1.265, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001011/0.001011, allocations: 100.9 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4219/0.4219, allocations: 78.91 MB / 409.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1586/0.5806, allocations: 75.66 MB / 485.5 MB, free: 3.617 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.963, allocations: 69.5 MB / 0.542 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/1.108, allocations: 111.8 MB / 0.6512 GB, free: 8.082 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.108, allocations: 83.95 kB / 0.6512 GB, free: 8 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.3672/1.476, allocations: 44.14 MB / 0.6943 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/1.476, allocations: 11.78 kB / 0.6944 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/1.479, allocations: 0.5899 MB / 0.6949 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/1.481, allocations: 1.023 MB / 0.6959 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/1.481, allocations: 429.9 kB / 0.6963 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/1.482, allocations: 70.28 kB / 0.6964 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001929/1.484, allocations: 1.081 MB / 0.6975 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.486, allocations: 1.114 MB / 0.6986 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.486, allocations: 0 / 0.6986 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/1.486, allocations: 1.156 kB / 0.6986 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/1.486, allocations: 25.06 kB / 0.6986 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/1.496, allocations: 5.075 MB / 0.7035 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.498, allocations: 1.065 MB / 0.7046 GB, free: 99.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/1.499, allocations: 0.7038 MB / 0.7053 GB, free: 99.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/1.5, allocations: 0.7356 MB / 0.706 GB, free: 98.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/1.502, allocations: 0.8398 MB / 0.7068 GB, free: 98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=131): time 8.566e-06/1.502, allocations: 0 / 0.7068 GB, free: 98 MB / 490.7 MB Notification: Performance of matching and sorting (n=131): time 0.01739/1.519, allocations: 5.344 MB / 0.712 GB, free: 96.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/1.519, allocations: 120.9 kB / 0.7121 GB, free: 96.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.521, allocations: 1.074 MB / 0.7132 GB, free: 95.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002492/1.521, allocations: 31.06 kB / 0.7132 GB, free: 95.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.521, allocations: 401.2 kB / 0.7136 GB, free: 95.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000637/1.522, allocations: 453.2 kB / 0.714 GB, free: 94.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/1.522, allocations: 0 / 0.714 GB, free: 94.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/1.522, allocations: 365.9 kB / 0.7144 GB, free: 94.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/1.523, allocations: 0.5937 MB / 0.715 GB, free: 93.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/1.524, allocations: 0.7694 MB / 0.7157 GB, free: 92.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/1.526, allocations: 0.6779 MB / 0.7164 GB, free: 92.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.526, allocations: 0 / 0.7164 GB, free: 92.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004027/1.53, allocations: 2.119 MB / 0.7184 GB, free: 90.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.53, allocations: 11.94 kB / 0.7185 GB, free: 90.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/1.53, allocations: 7.938 kB / 0.7185 GB, free: 90.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00766/1.537, allocations: 2.372 MB / 0.7208 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.538, allocations: 215.7 kB / 0.721 GB, free: 87.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004641/1.543, allocations: 2.534 MB / 0.7235 GB, free: 84.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.545, allocations: 242.7 kB / 0.7237 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/1.546, allocations: 55.97 kB / 0.7237 GB, free: 84.58 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,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003486/1.546, allocations: 120.6 kB / 0.7239 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/1.547, allocations: 165.9 kB / 0.724 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.562, allocations: 5.381 MB / 0.7293 GB, free: 78.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.562, allocations: 16 kB / 0.7293 GB, free: 78.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.562, allocations: 4 kB / 0.7293 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/1.562, allocations: 7.969 kB / 0.7293 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/1.58, allocations: 7.272 MB / 0.7364 GB, free: 71.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.58, allocations: 4 kB / 0.7364 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.582, allocations: 147.8 kB / 0.7365 GB, free: 71.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006385/1.588, allocations: 2.119 MB / 0.7386 GB, free: 69.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/1.588, allocations: 11.98 kB / 0.7386 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/1.607, allocations: 8.666 MB / 0.7471 GB, free: 60.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.607, allocations: 0 / 0.7471 GB, free: 60.39 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01732/1.624, allocations: 6.411 MB / 0.7533 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01941/1.644, allocations: 7.741 MB / 0.7609 GB, free: 46.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/1.644, allocations: 270.7 kB / 0.7612 GB, free: 45.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006606/1.645, allocations: 12 kB / 0.7612 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.647, allocations: 163.9 kB / 0.7613 GB, free: 45.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005919/1.648, allocations: 153 kB / 0.7615 GB, free: 45.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.648, allocations: 43.98 kB / 0.7615 GB, free: 45.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001437/1.65, allocations: 0.8106 MB / 0.7623 GB, free: 44.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003081/1.653, allocations: 0.4913 MB / 0.7628 GB, free: 44.23 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006205/1.653, allocations: 178.9 kB / 0.763 GB, free: 44.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007582/1.661, allocations: 2.452 MB / 0.7654 GB, free: 41.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.661, allocations: 4.312 kB / 0.7654 GB, free: 41.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006241/1.667, allocations: 1.935 MB / 0.7673 GB, free: 39.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/1.669, allocations: 120.6 kB / 0.7674 GB, free: 39.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008231/1.677, allocations: 2.524 MB / 0.7698 GB, free: 36.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.679, allocations: 1.398 MB / 0.7712 GB, free: 35.52 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/1.679, allocations: 4 kB / 0.7712 GB, free: 35.51 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)