Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003076/0.003076, allocations: 186 kB / 7.46 MB, free: 2.238 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.379/1.379, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0009622/0.0009621, allocations: 90.64 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.08001/0.08001, allocations: 12.19 MB / 321.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3058/0.3058, allocations: 78.05 MB / 449.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3349/0.6408, allocations: 76.09 MB / 0.5137 GB, free: 30.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.7795, allocations: 69.23 MB / 0.5813 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/1.233, allocations: 111 MB / 0.6897 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.233, allocations: 88.31 kB / 0.6898 GB, free: 13.9 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.1313/1.365, allocations: 42.58 MB / 0.7314 GB, free: 10.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.365, allocations: 11.94 kB / 0.7314 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/1.369, allocations: 0.5903 MB / 0.732 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/1.372, allocations: 0.9846 MB / 0.7329 GB, free: 9.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/1.372, allocations: 434.2 kB / 0.7334 GB, free: 8.988 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/1.373, allocations: 67.84 kB / 0.7334 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002279/1.375, allocations: 1.073 MB / 0.7345 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/1.377, allocations: 1.086 MB / 0.7355 GB, free: 7.527 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.377, allocations: 0 / 0.7355 GB, free: 7.527 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.377, allocations: 0 / 0.7355 GB, free: 7.527 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/1.377, allocations: 35.88 kB / 0.7356 GB, free: 7.492 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/1.389, allocations: 4.79 MB / 0.7402 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/1.391, allocations: 1.138 MB / 0.7413 GB, free: 2.934 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/1.392, allocations: 0.6784 MB / 0.742 GB, free: 2.566 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/1.392, allocations: 28.84 kB / 0.742 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.392, allocations: 57.66 kB / 0.7421 GB, free: 2.484 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 6.652e-06/1.392, allocations: 3.984 kB / 0.7421 GB, free: 2.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=127): time 0.01845/1.411, allocations: 5.228 MB / 0.7472 GB, free: 13.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.411, allocations: 157.3 kB / 0.7474 GB, free: 13.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/1.414, allocations: 1.007 MB / 0.7483 GB, free: 12.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004862/1.414, allocations: 33.7 kB / 0.7484 GB, free: 12.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/1.415, allocations: 390.8 kB / 0.7487 GB, free: 12.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008129/1.415, allocations: 445.3 kB / 0.7492 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.415, allocations: 0 / 0.7492 GB, free: 11.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/1.416, allocations: 357.9 kB / 0.7495 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/1.417, allocations: 0.5572 MB / 0.75 GB, free: 10.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/1.418, allocations: 0.721 MB / 0.7508 GB, free: 10.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/1.419, allocations: 0.631 MB / 0.7514 GB, free: 9.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.42, allocations: 3.938 kB / 0.7514 GB, free: 9.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004905/1.424, allocations: 2.069 MB / 0.7534 GB, free: 7.328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006655/1.425, allocations: 1.429 MB / 0.7548 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.425, allocations: 4 kB / 0.7548 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009294/1.434, allocations: 2.599 MB / 0.7573 GB, free: 3.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/1.435, allocations: 151.8 kB / 0.7575 GB, free: 3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006397/1.442, allocations: 2.902 MB / 0.7603 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.444, allocations: 230.8 kB / 0.7605 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.444, allocations: 43.98 kB / 0.7606 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.444, allocations: 4 kB / 0.7606 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003979/1.448, allocations: 1.874 MB / 0.7624 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.448, allocations: 4.469 kB / 0.7624 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009072/1.457, allocations: 2.58 MB / 0.7649 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/1.458, allocations: 163.8 kB / 0.7651 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006206/1.464, allocations: 2.882 MB / 0.7679 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.467, allocations: 210.9 kB / 0.7681 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/1.467, allocations: 47.98 kB / 0.7681 GB, free: 8.004 MB / 0.4948 GB 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.0004364/1.468, allocations: 124.7 kB / 0.7683 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/1.468, allocations: 162 kB / 0.7684 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.485, allocations: 5.384 MB / 0.7737 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-05/1.485, allocations: 16 kB / 0.7737 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.485, allocations: 0 / 0.7737 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-05/1.485, allocations: 3.984 kB / 0.7737 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/1.506, allocations: 7.269 MB / 0.7808 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.506, allocations: 0 / 0.7808 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.507, allocations: 143.8 kB / 0.7809 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007388/1.515, allocations: 2.12 MB / 0.783 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003764/1.515, allocations: 11.98 kB / 0.783 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02074/1.536, allocations: 8.678 MB / 0.7915 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.536, allocations: 0 / 0.7915 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01862/1.555, allocations: 6.389 MB / 0.7977 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02028/1.575, allocations: 7.699 MB / 0.8052 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/1.576, allocations: 262.8 kB / 0.8055 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/1.576, allocations: 7.938 kB / 0.8055 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/1.578, allocations: 163.9 kB / 0.8057 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/1.578, allocations: 145 kB / 0.8058 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.578, allocations: 39.92 kB / 0.8058 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001204/1.58, allocations: 0.7773 MB / 0.8066 GB, free: 144 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003138/1.583, allocations: 0.7173 MB / 0.8073 GB, free: 15.42 MB / 0.5417 GB 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.0004427/1.583, allocations: 151 kB / 0.8074 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01459/1.598, allocations: 4.213 MB / 0.8116 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.598, allocations: 0 / 0.8116 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00622/1.604, allocations: 1.916 MB / 0.8134 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.605, allocations: 104.5 kB / 0.8135 GB, free: 9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006894/1.612, allocations: 2.57 MB / 0.816 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.613, allocations: 1.381 MB / 0.8174 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/1.614, allocations: 0 / 0.8174 GB, free: 4.969 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1)