Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",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 3.2.3+maint.om/package.mo): time 0.00246/0.00246, allocations: 178.9 kB / 7.455 MB, free: 2.512 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.394/1.394, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0009707/0.0009708, allocations: 97.41 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07816/0.07816, allocations: 12.2 MB / 321.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3083/0.3083, allocations: 78.05 MB / 449.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3083/0.6166, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.7525, allocations: 69.23 MB / 0.5813 GB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/1.145, allocations: 117.2 MB / 0.6958 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.145, allocations: 86.56 kB / 0.6958 GB, free: 7.891 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.1537/1.299, allocations: 50.62 MB / 0.7453 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/1.299, allocations: 11.94 kB / 0.7453 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004548/1.304, allocations: 0.6202 MB / 0.7459 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/1.307, allocations: 1.188 MB / 0.747 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006333/1.308, allocations: 468.3 kB / 0.7475 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/1.309, allocations: 71.81 kB / 0.7476 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003171/1.312, allocations: 1.224 MB / 0.7488 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/1.315, allocations: 1.268 MB / 0.75 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/1.315, allocations: 0 / 0.75 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/1.315, allocations: 0 / 0.75 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/1.315, allocations: 31.98 kB / 0.75 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/1.329, allocations: 5.522 MB / 0.7554 GB, free: 5.434 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/1.332, allocations: 1.257 MB / 0.7566 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.333, allocations: 0.7602 MB / 0.7574 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/1.334, allocations: 0.7297 MB / 0.7581 GB, free: 2.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/1.336, allocations: 0.9125 MB / 0.759 GB, free: 1.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 5.721e-06/1.336, allocations: 4 kB / 0.759 GB, free: 1.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01811/1.354, allocations: 5.365 MB / 0.7642 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/1.354, allocations: 149.8 kB / 0.7644 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/1.357, allocations: 1.197 MB / 0.7655 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004277/1.357, allocations: 37.69 kB / 0.7656 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/1.358, allocations: 447.9 kB / 0.766 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.359, allocations: 492.6 kB / 0.7665 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/1.359, allocations: 0 / 0.7665 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.359, allocations: 361.9 kB / 0.7668 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/1.361, allocations: 0.6523 MB / 0.7675 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/1.362, allocations: 0.8373 MB / 0.7683 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/1.365, allocations: 0.736 MB / 0.769 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.365, allocations: 0 / 0.769 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.006121/1.371, allocations: 2.33 MB / 0.7713 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007999/1.372, allocations: 1.534 MB / 0.7728 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/1.372, allocations: 7.906 kB / 0.7728 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009123/1.381, allocations: 2.467 MB / 0.7752 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.382, allocations: 247.6 kB / 0.7754 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/1.389, allocations: 3.185 MB / 0.7785 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/1.392, allocations: 278.6 kB / 0.7788 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004088/1.393, allocations: 55.98 kB / 0.7789 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.393, allocations: 4 kB / 0.7789 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005431/1.398, allocations: 2.104 MB / 0.7809 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.398, allocations: 4 kB / 0.7809 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009131/1.408, allocations: 2.471 MB / 0.7833 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.409, allocations: 243.6 kB / 0.7836 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006708/1.416, allocations: 3.178 MB / 0.7867 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/1.419, allocations: 258.8 kB / 0.7869 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003963/1.419, allocations: 55.98 kB / 0.787 GB, free: 4.488 MB / 0.5105 GB 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,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.0006658/1.42, allocations: 130.1 kB / 0.7871 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008668/1.421, allocations: 189.8 kB / 0.7873 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.438, allocations: 5.402 MB / 0.7925 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/1.438, allocations: 12 kB / 0.7926 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.438, allocations: 7.984 kB / 0.7926 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/1.438, allocations: 3.984 kB / 0.7926 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.462, allocations: 7.466 MB / 0.7999 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/1.462, allocations: 7.938 kB / 0.7999 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.464, allocations: 191.8 kB / 0.8 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007232/1.471, allocations: 2.072 MB / 0.8021 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/1.471, allocations: 15.98 kB / 0.8021 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/1.492, allocations: 7.16 MB / 0.8091 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.492, allocations: 4 kB / 0.8091 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02017/1.512, allocations: 6.555 MB / 0.8155 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02264/1.535, allocations: 7.984 MB / 0.8233 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008884/1.536, allocations: 294.5 kB / 0.8236 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009536/1.537, allocations: 8 kB / 0.8236 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.54, allocations: 199.8 kB / 0.8238 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006639/1.54, allocations: 184.9 kB / 0.8239 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002959/1.541, allocations: 43.92 kB / 0.824 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001845/1.542, allocations: 0.9044 MB / 0.8249 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004974/1.547, allocations: 0.8185 MB / 0.8257 GB, free: 12.5 MB / 0.5573 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * 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.0007507/1.548, allocations: 171 kB / 0.8258 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01566/1.564, allocations: 4.526 MB / 0.8302 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.564, allocations: 320 / 0.8302 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007019/1.571, allocations: 1.933 MB / 0.8321 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.573, allocations: 117.7 kB / 0.8322 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00995/1.583, allocations: 2.878 MB / 0.8351 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/1.585, allocations: 1.505 MB / 0.8365 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.585, allocations: 0 / 0.8365 GB, free: 1.27 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)