Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.EXST1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",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.003136/0.003136, allocations: 187 kB / 7.46 MB, free: 2.516 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.26/1.26, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0009106/0.0009107, allocations: 89.39 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4737/0.4737, allocations: 78.91 MB / 409.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1673/0.6411, allocations: 75.66 MB / 485.5 MB, free: 3.496 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/1.016, allocations: 69.5 MB / 0.542 GB, free: 20.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/1.162, allocations: 111.4 MB / 0.6507 GB, free: 8.48 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.162, allocations: 83.94 kB / 0.6508 GB, free: 8.398 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.3983/1.561, allocations: 42.72 MB / 0.6925 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.561, allocations: 11.44 kB / 0.6925 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/1.564, allocations: 0.5828 MB / 0.6931 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/1.567, allocations: 1.031 MB / 0.6941 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005549/1.567, allocations: 470.5 kB / 0.6946 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/1.568, allocations: 68.59 kB / 0.6946 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002488/1.57, allocations: 1.101 MB / 0.6957 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/1.573, allocations: 1.102 MB / 0.6968 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.573, allocations: 8 kB / 0.6968 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/1.573, allocations: 0 / 0.6968 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/1.573, allocations: 23.41 kB / 0.6968 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/1.584, allocations: 4.788 MB / 0.7015 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/1.586, allocations: 1.114 MB / 0.7026 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/1.587, allocations: 0.7107 MB / 0.7033 GB, free: 99.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/1.588, allocations: 35.02 kB / 0.7033 GB, free: 99.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/1.588, allocations: 45.16 kB / 0.7033 GB, free: 99.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=128): time 5.922e-06/1.588, allocations: 4 kB / 0.7033 GB, free: 99.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=128): time 0.01916/1.607, allocations: 5.33 MB / 0.7085 GB, free: 98.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/1.607, allocations: 147.5 kB / 0.7087 GB, free: 98.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/1.61, allocations: 1.064 MB / 0.7097 GB, free: 98.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004122/1.61, allocations: 30.95 kB / 0.7098 GB, free: 98.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/1.611, allocations: 389.1 kB / 0.7101 GB, free: 97.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009569/1.612, allocations: 450.7 kB / 0.7106 GB, free: 97.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/1.612, allocations: 1.281 kB / 0.7106 GB, free: 97.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/1.612, allocations: 356 kB / 0.7109 GB, free: 97.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.613, allocations: 0.5857 MB / 0.7115 GB, free: 96.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/1.614, allocations: 0.7475 MB / 0.7122 GB, free: 96.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/1.616, allocations: 0.6481 MB / 0.7128 GB, free: 95.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/1.616, allocations: 0 / 0.7128 GB, free: 95.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004012/1.62, allocations: 2.096 MB / 0.7149 GB, free: 93.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002682/1.62, allocations: 1.335 MB / 0.7162 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.62, allocations: 7.469 kB / 0.7162 GB, free: 92.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00835/1.628, allocations: 2.568 MB / 0.7187 GB, free: 89.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/1.629, allocations: 179.7 kB / 0.7189 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006681/1.636, allocations: 3.082 MB / 0.7219 GB, free: 86.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.639, allocations: 246.8 kB / 0.7221 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/1.639, allocations: 55.97 kB / 0.7222 GB, free: 86.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/1.639, allocations: 4 kB / 0.7222 GB, free: 86.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003309/1.642, allocations: 1.886 MB / 0.724 GB, free: 84.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.642, allocations: 4 kB / 0.724 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008099/1.65, allocations: 2.567 MB / 0.7265 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/1.651, allocations: 171.7 kB / 0.7267 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/1.658, allocations: 3.062 MB / 0.7297 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/1.661, allocations: 242.8 kB / 0.7299 GB, free: 78.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.661, allocations: 51.98 kB / 0.73 GB, free: 78.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 40} Notification: Performance of prepare postOptimizeDAE: time 0.000423/1.661, allocations: 114.8 kB / 0.7301 GB, free: 78.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007117/1.662, allocations: 165.9 kB / 0.7302 GB, free: 77.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/1.678, allocations: 5.369 MB / 0.7355 GB, free: 72.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.678, allocations: 12 kB / 0.7355 GB, free: 72.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.678, allocations: 3.906 kB / 0.7355 GB, free: 72.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/1.678, allocations: 11.97 kB / 0.7355 GB, free: 72.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.698, allocations: 7.373 MB / 0.7427 GB, free: 65.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.698, allocations: 11.92 kB / 0.7427 GB, free: 65.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/1.701, allocations: 0.5112 MB / 0.7432 GB, free: 64.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006896/1.707, allocations: 2.139 MB / 0.7453 GB, free: 62.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005027/1.708, allocations: 15.98 kB / 0.7453 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/1.728, allocations: 10.25 MB / 0.7553 GB, free: 51.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.728, allocations: 4.188 kB / 0.7553 GB, free: 51.78 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01832/1.747, allocations: 6.516 MB / 0.7617 GB, free: 45.24 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0203/1.767, allocations: 7.842 MB / 0.7693 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008673/1.768, allocations: 270.8 kB / 0.7696 GB, free: 37.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/1.769, allocations: 7.984 kB / 0.7696 GB, free: 37.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.771, allocations: 183.8 kB / 0.7698 GB, free: 36.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/1.772, allocations: 153 kB / 0.7699 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.772, allocations: 35.98 kB / 0.77 GB, free: 36.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001487/1.773, allocations: 0.8134 MB / 0.7708 GB, free: 35.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004354/1.778, allocations: 0.7329 MB / 0.7715 GB, free: 35.16 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,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004759/1.778, allocations: 159.2 kB / 0.7716 GB, free: 35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01476/1.793, allocations: 4.604 MB / 0.7761 GB, free: 30.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.793, allocations: 0 / 0.7761 GB, free: 30.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008605/1.802, allocations: 2.462 MB / 0.7785 GB, free: 27.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/1.804, allocations: 109.2 kB / 0.7786 GB, free: 27.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/1.811, allocations: 2.564 MB / 0.7811 GB, free: 25.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.812, allocations: 1.395 MB / 0.7825 GB, free: 23.8 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/1.812, allocations: 0 / 0.7825 GB, free: 23.8 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1)