Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.003857/0.003857, allocations: 176.8 kB / 7.458 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.279/1.279, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001067/0.001067, allocations: 101 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4676/0.4676, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1554/0.6231, allocations: 75.5 MB / 484.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.9719, allocations: 69.35 MB / 0.5408 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/1.113, allocations: 112.3 MB / 0.6505 GB, free: 8.562 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.114, allocations: 87.94 kB / 0.6505 GB, free: 8.477 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.3722/1.486, allocations: 47.64 MB / 0.6971 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.486, allocations: 7.75 kB / 0.6971 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/1.49, allocations: 0.5938 MB / 0.6977 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/1.493, allocations: 1.078 MB / 0.6987 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007443/1.494, allocations: 433.6 kB / 0.6991 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007113/1.495, allocations: 66.47 kB / 0.6992 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003842/1.499, allocations: 1.119 MB / 0.7003 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/1.502, allocations: 1.134 MB / 0.7014 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/1.502, allocations: 0.7812 kB / 0.7014 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/1.502, allocations: 4.594 kB / 0.7014 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/1.502, allocations: 24.66 kB / 0.7014 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/1.516, allocations: 5.167 MB / 0.7065 GB, free: 99.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/1.518, allocations: 1.122 MB / 0.7076 GB, free: 98.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/1.519, allocations: 0.7127 MB / 0.7082 GB, free: 98.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/1.52, allocations: 0.7307 MB / 0.709 GB, free: 97.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/1.521, allocations: 0.8579 MB / 0.7098 GB, free: 96.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 3.817e-06/1.521, allocations: 0 / 0.7098 GB, free: 96.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01674/1.538, allocations: 5.197 MB / 0.7149 GB, free: 94.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/1.538, allocations: 120.1 kB / 0.715 GB, free: 94.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/1.54, allocations: 1.142 MB / 0.7161 GB, free: 93.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003954/1.54, allocations: 29.69 kB / 0.7161 GB, free: 93.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/1.54, allocations: 407.3 kB / 0.7165 GB, free: 92.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/1.541, allocations: 457.2 kB / 0.717 GB, free: 92.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/1.541, allocations: 0 / 0.717 GB, free: 92.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/1.541, allocations: 361.9 kB / 0.7173 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/1.542, allocations: 0.6171 MB / 0.7179 GB, free: 91.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009968/1.543, allocations: 0.8012 MB / 0.7187 GB, free: 90.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/1.544, allocations: 0.7087 MB / 0.7194 GB, free: 89.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.544, allocations: 4 kB / 0.7194 GB, free: 89.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004044/1.548, allocations: 2.197 MB / 0.7215 GB, free: 87.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.548, allocations: 4 kB / 0.7215 GB, free: 87.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.549, allocations: 8 kB / 0.7215 GB, free: 87.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007865/1.556, allocations: 2.361 MB / 0.7238 GB, free: 85.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.558, allocations: 235.6 kB / 0.7241 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/1.563, allocations: 2.524 MB / 0.7265 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/1.565, allocations: 246.8 kB / 0.7268 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.565, allocations: 59.91 kB / 0.7268 GB, free: 81.95 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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * 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.0003523/1.566, allocations: 132.6 kB / 0.727 GB, free: 81.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/1.566, allocations: 169.9 kB / 0.7271 GB, free: 81.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/1.581, allocations: 5.365 MB / 0.7324 GB, free: 76.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/1.581, allocations: 15.91 kB / 0.7324 GB, free: 76.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.581, allocations: 4 kB / 0.7324 GB, free: 76.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/1.581, allocations: 7.969 kB / 0.7324 GB, free: 76.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/1.599, allocations: 7.284 MB / 0.7395 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.6, allocations: 0 / 0.7395 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.601, allocations: 159.8 kB / 0.7396 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00659/1.607, allocations: 2.064 MB / 0.7417 GB, free: 66.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005234/1.608, allocations: 23.98 kB / 0.7417 GB, free: 66.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/1.625, allocations: 7.167 MB / 0.7487 GB, free: 59.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.625, allocations: 0 / 0.7487 GB, free: 59.39 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01689/1.642, allocations: 6.337 MB / 0.7549 GB, free: 53.02 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01824/1.66, allocations: 7.694 MB / 0.7624 GB, free: 45.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006777/1.661, allocations: 286.5 kB / 0.7627 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/1.661, allocations: 4 kB / 0.7627 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.663, allocations: 179.8 kB / 0.7628 GB, free: 44.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004063/1.663, allocations: 161 kB / 0.763 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.664, allocations: 32 kB / 0.763 GB, free: 44.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001105/1.665, allocations: 0.8666 MB / 0.7639 GB, free: 43.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001965/1.667, allocations: 0.4953 MB / 0.7644 GB, free: 43.27 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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.0003831/1.667, allocations: 194.9 kB / 0.7645 GB, free: 43.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00671/1.674, allocations: 2.497 MB / 0.767 GB, free: 40.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/1.674, allocations: 3.938 kB / 0.767 GB, free: 40.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005951/1.68, allocations: 1.844 MB / 0.7688 GB, free: 38.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.681, allocations: 117.4 kB / 0.7689 GB, free: 38.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006327/1.687, allocations: 2.553 MB / 0.7714 GB, free: 36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.689, allocations: 1.438 MB / 0.7728 GB, free: 34.52 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.689, allocations: 3.938 kB / 0.7728 GB, free: 34.52 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)