Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",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.00326/0.00326, allocations: 178.5 kB / 7.455 MB, free: 2.508 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.225/1.225, allocations: 221.4 MB / 229.3 MB, free: 3.375 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.001018/0.001018, allocations: 101 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4671/0.4671, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1551/0.6223, allocations: 75.49 MB / 484.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/1.023, allocations: 69.35 MB / 0.5408 GB, free: 21.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/1.165, allocations: 109.5 MB / 0.6478 GB, free: 11.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.166, allocations: 79.95 kB / 0.6479 GB, free: 11.12 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.4394/1.605, allocations: 43.62 MB / 0.6905 GB, free: 76.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.605, allocations: 9.5 kB / 0.6905 GB, free: 76.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/1.609, allocations: 0.5883 MB / 0.691 GB, free: 76.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/1.612, allocations: 0.9879 MB / 0.692 GB, free: 75.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/1.612, allocations: 423.9 kB / 0.6924 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/1.612, allocations: 63.34 kB / 0.6925 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002263/1.615, allocations: 1.073 MB / 0.6935 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/1.617, allocations: 1.093 MB / 0.6946 GB, free: 75.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.617, allocations: 0 / 0.6946 GB, free: 75.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.617, allocations: 3.906 kB / 0.6946 GB, free: 75.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/1.617, allocations: 22.66 kB / 0.6946 GB, free: 75.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/1.627, allocations: 4.799 MB / 0.6993 GB, free: 73.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/1.629, allocations: 1.137 MB / 0.7004 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.631, allocations: 0.6858 MB / 0.7011 GB, free: 73.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/1.631, allocations: 26 kB / 0.7011 GB, free: 73.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/1.631, allocations: 46 kB / 0.7011 GB, free: 73.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 5.07e-06/1.631, allocations: 0 / 0.7011 GB, free: 73.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.01894/1.65, allocations: 5.243 MB / 0.7063 GB, free: 73.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/1.65, allocations: 142.2 kB / 0.7064 GB, free: 73.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/1.652, allocations: 1.011 MB / 0.7074 GB, free: 72.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003524/1.653, allocations: 26.55 kB / 0.7074 GB, free: 72.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/1.653, allocations: 390.5 kB / 0.7078 GB, free: 72.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009193/1.654, allocations: 442.6 kB / 0.7082 GB, free: 72.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/1.654, allocations: 0 / 0.7082 GB, free: 72.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/1.654, allocations: 358.1 kB / 0.7085 GB, free: 72.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.656, allocations: 0.5581 MB / 0.7091 GB, free: 72.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.657, allocations: 0.7256 MB / 0.7098 GB, free: 71.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/1.658, allocations: 0.6294 MB / 0.7104 GB, free: 71.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.658, allocations: 0 / 0.7104 GB, free: 71.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004626/1.663, allocations: 2.067 MB / 0.7124 GB, free: 70.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000316/1.663, allocations: 1.431 MB / 0.7138 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.663, allocations: 8 kB / 0.7138 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009031/1.672, allocations: 2.593 MB / 0.7164 GB, free: 66.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/1.673, allocations: 161.3 kB / 0.7165 GB, free: 66.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/1.68, allocations: 2.914 MB / 0.7194 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.682, allocations: 224.9 kB / 0.7196 GB, free: 64.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.682, allocations: 48.89 kB / 0.7196 GB, free: 64.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.682, allocations: 4 kB / 0.7196 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003722/1.686, allocations: 1.866 MB / 0.7215 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/1.686, allocations: 4 kB / 0.7215 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008899/1.695, allocations: 2.586 MB / 0.724 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/1.696, allocations: 157.5 kB / 0.7241 GB, free: 61.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/1.702, allocations: 2.884 MB / 0.7269 GB, free: 59.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.704, allocations: 213.4 kB / 0.7272 GB, free: 59.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/1.704, allocations: 51.02 kB / 0.7272 GB, free: 59.74 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eXNI.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (eXNI.booleanConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {34 45} Notification: Performance of prepare postOptimizeDAE: time 0.0004746/1.705, allocations: 130 kB / 0.7273 GB, free: 59.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/1.705, allocations: 154.1 kB / 0.7275 GB, free: 59.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/1.722, allocations: 5.388 MB / 0.7327 GB, free: 55.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/1.722, allocations: 12 kB / 0.7327 GB, free: 55.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.722, allocations: 0 / 0.7327 GB, free: 55.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.964e-05/1.722, allocations: 14.28 kB / 0.7328 GB, free: 55.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.742, allocations: 7.246 MB / 0.7398 GB, free: 50.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.742, allocations: 0.875 kB / 0.7398 GB, free: 50.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.743, allocations: 150.8 kB / 0.74 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006822/1.75, allocations: 2.116 MB / 0.742 GB, free: 48.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004443/1.751, allocations: 12.61 kB / 0.7421 GB, free: 48.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/1.77, allocations: 8.692 MB / 0.7505 GB, free: 41.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.77, allocations: 0 / 0.7505 GB, free: 41.29 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01718/1.787, allocations: 6.392 MB / 0.7568 GB, free: 34.89 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01934/1.806, allocations: 7.694 MB / 0.7643 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009214/1.807, allocations: 266.8 kB / 0.7646 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008418/1.808, allocations: 0 / 0.7646 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.811, allocations: 159.9 kB / 0.7647 GB, free: 26.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/1.811, allocations: 153 kB / 0.7649 GB, free: 26.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.811, allocations: 32 kB / 0.7649 GB, free: 26.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001217/1.813, allocations: 0.7811 MB / 0.7656 GB, free: 25.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004019/1.817, allocations: 0.7133 MB / 0.7663 GB, free: 25.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004397/1.817, allocations: 156.6 kB / 0.7665 GB, free: 24.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0134/1.83, allocations: 4.209 MB / 0.7706 GB, free: 20.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.831, allocations: 4 kB / 0.7706 GB, free: 20.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006314/1.837, allocations: 1.92 MB / 0.7725 GB, free: 18.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.839, allocations: 101.1 kB / 0.7726 GB, free: 18.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007792/1.846, allocations: 2.571 MB / 0.7751 GB, free: 16.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.848, allocations: 1.385 MB / 0.7764 GB, free: 14.64 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/1.848, allocations: 0 / 0.7764 GB, free: 14.64 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)