Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.EXAC2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.003765/0.003765, allocations: 181.6 kB / 7.456 MB, free: 2.238 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.378/1.378, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.001365/0.001365, allocations: 98.02 kB / 280.1 MB, free: 1.191 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4623/0.4623, allocations: 78.93 MB / 409.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1684/0.6307, allocations: 75.65 MB / 485.5 MB, free: 3.496 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/1.022, allocations: 69.52 MB / 0.542 GB, free: 12.33 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/1.17, allocations: 116.3 MB / 0.6555 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.17, allocations: 83.95 kB / 0.6556 GB, free: 7.781 MB / 0.5105 GB 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.1487/1.319, allocations: 49.64 MB / 0.7041 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.319, allocations: 8 kB / 0.7041 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003988/1.323, allocations: 0.6179 MB / 0.7047 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/1.326, allocations: 1.181 MB / 0.7058 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006509/1.327, allocations: 472.4 kB / 0.7063 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005045/1.327, allocations: 76 kB / 0.7064 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003127/1.33, allocations: 1.223 MB / 0.7076 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/1.334, allocations: 1.262 MB / 0.7088 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/1.334, allocations: 0 / 0.7088 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/1.334, allocations: 4 kB / 0.7088 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/1.334, allocations: 28 kB / 0.7088 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2522/1.586, allocations: 5.497 MB / 0.7142 GB, free: 172 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/1.588, allocations: 1.261 MB / 0.7154 GB, free: 171.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000971/1.589, allocations: 0.7597 MB / 0.7162 GB, free: 171.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/1.589, allocations: 0.7363 MB / 0.7169 GB, free: 171.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/1.591, allocations: 0.9144 MB / 0.7178 GB, free: 171 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=143): time 3.466e-06/1.591, allocations: 0 / 0.7178 GB, free: 171 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143): time 0.01558/1.606, allocations: 5.366 MB / 0.723 GB, free: 170.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/1.606, allocations: 148.6 kB / 0.7232 GB, free: 170.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/1.608, allocations: 1.199 MB / 0.7243 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/1.609, allocations: 25.7 kB / 0.7244 GB, free: 170.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/1.609, allocations: 449.4 kB / 0.7248 GB, free: 170.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005798/1.609, allocations: 490.4 kB / 0.7252 GB, free: 170 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/1.61, allocations: 6.062 kB / 0.7253 GB, free: 170 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/1.61, allocations: 358.9 kB / 0.7256 GB, free: 169.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.611, allocations: 0.6546 MB / 0.7262 GB, free: 169.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.612, allocations: 0.8315 MB / 0.727 GB, free: 169.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/1.613, allocations: 0.7425 MB / 0.7278 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.613, allocations: 0 / 0.7278 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004394/1.618, allocations: 2.319 MB / 0.73 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003322/1.618, allocations: 1.543 MB / 0.7315 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.618, allocations: 4.062 kB / 0.7316 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007892/1.626, allocations: 2.467 MB / 0.734 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.627, allocations: 246.3 kB / 0.7342 GB, free: 167.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/1.636, allocations: 3.194 MB / 0.7373 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004232/1.64, allocations: 276.3 kB / 0.7376 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005078/1.64, allocations: 54.56 kB / 0.7376 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.64, allocations: 3.281 kB / 0.7376 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008184/1.649, allocations: 2.115 MB / 0.7397 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.649, allocations: 3.531 kB / 0.7397 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/1.66, allocations: 2.459 MB / 0.7421 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.661, allocations: 245.8 kB / 0.7423 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/1.668, allocations: 3.18 MB / 0.7454 GB, free: 165 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/1.671, allocations: 261.6 kB / 0.7457 GB, free: 165 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/1.672, allocations: 54.36 kB / 0.7457 GB, free: 165 MB / 0.5573 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.0006378/1.672, allocations: 129.5 kB / 0.7459 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/1.673, allocations: 183.7 kB / 0.746 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/1.69, allocations: 5.408 MB / 0.7513 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-05/1.69, allocations: 18.97 kB / 0.7513 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/1.69, allocations: 3.406 kB / 0.7513 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.557e-05/1.69, allocations: 11.55 kB / 0.7514 GB, free: 164.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.714, allocations: 7.462 MB / 0.7586 GB, free: 162.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/1.714, allocations: 0 / 0.7586 GB, free: 162.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.716, allocations: 199.2 kB / 0.7588 GB, free: 162.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007591/1.723, allocations: 2.064 MB / 0.7608 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004437/1.724, allocations: 13.92 kB / 0.7609 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/1.742, allocations: 7.172 MB / 0.7679 GB, free: 158.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.742, allocations: 3.906 kB / 0.7679 GB, free: 158.7 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01831/1.761, allocations: 6.558 MB / 0.7743 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01999/1.781, allocations: 7.982 MB / 0.7821 GB, free: 146.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.782, allocations: 299.8 kB / 0.7824 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008171/1.782, allocations: 0 / 0.7824 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.785, allocations: 205.5 kB / 0.7826 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/1.786, allocations: 181.2 kB / 0.7827 GB, free: 146 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.786, allocations: 39.89 kB / 0.7828 GB, free: 146 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001582/1.787, allocations: 0.9085 MB / 0.7836 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004585/1.792, allocations: 0.8139 MB / 0.7844 GB, free: 144.4 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.000568/1.793, allocations: 183.1 kB / 0.7846 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01424/1.807, allocations: 4.517 MB / 0.789 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.807, allocations: 0 / 0.789 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006575/1.813, allocations: 1.916 MB / 0.7909 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/1.816, allocations: 121.1 kB / 0.791 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009858/1.826, allocations: 2.887 MB / 0.7938 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/1.827, allocations: 1.502 MB / 0.7953 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.924e-06/1.827, allocations: 0 / 0.7953 GB, free: 134.5 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)