Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1",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.002216/0.002216, allocations: 180.3 kB / 7.456 MB, free: 2.316 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.287/1.287, allocations: 221.4 MB / 229.3 MB, free: 3.305 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.0009648/0.0009648, allocations: 99.88 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4549/0.4549, allocations: 78.05 MB / 408.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.6298, allocations: 75.48 MB / 484.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.9769, allocations: 69.35 MB / 0.5408 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/1.121, allocations: 110.9 MB / 0.6491 GB, free: 9.852 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.121, allocations: 79.95 kB / 0.6492 GB, free: 9.773 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.4208/1.542, allocations: 46.72 MB / 0.6948 GB, free: 45.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.542, allocations: 15.31 kB / 0.6948 GB, free: 45.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/1.546, allocations: 0.5833 MB / 0.6954 GB, free: 45.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/1.549, allocations: 1.058 MB / 0.6964 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/1.549, allocations: 408.8 kB / 0.6968 GB, free: 44.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004846/1.55, allocations: 60.88 kB / 0.6969 GB, free: 44.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002583/1.552, allocations: 1.129 MB / 0.698 GB, free: 44.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/1.555, allocations: 1.143 MB / 0.6991 GB, free: 44.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.555, allocations: 4 kB / 0.6991 GB, free: 44.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/1.555, allocations: 0 / 0.6991 GB, free: 44.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/1.555, allocations: 38.59 kB / 0.6991 GB, free: 44.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009585/1.565, allocations: 4.91 MB / 0.7039 GB, free: 42.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/1.566, allocations: 0.8004 MB / 0.7047 GB, free: 42.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.567, allocations: 0.7221 MB / 0.7054 GB, free: 42.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/1.567, allocations: 27.55 kB / 0.7054 GB, free: 42.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/1.569, allocations: 0.8605 MB / 0.7063 GB, free: 42.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 4.328e-06/1.569, allocations: 0 / 0.7063 GB, free: 42.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01694/1.586, allocations: 5.458 MB / 0.7116 GB, free: 42.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/1.586, allocations: 123.5 kB / 0.7117 GB, free: 42.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/1.588, allocations: 1.103 MB / 0.7128 GB, free: 42.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005183/1.589, allocations: 25.7 kB / 0.7128 GB, free: 41.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/1.589, allocations: 395.2 kB / 0.7132 GB, free: 41.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009447/1.59, allocations: 471.4 kB / 0.7137 GB, free: 41.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/1.59, allocations: 0 / 0.7137 GB, free: 41.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/1.59, allocations: 354.4 kB / 0.714 GB, free: 41.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/1.592, allocations: 0.5984 MB / 0.7146 GB, free: 41.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/1.593, allocations: 0.7616 MB / 0.7153 GB, free: 40.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.594, allocations: 0.66 MB / 0.716 GB, free: 40.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.594, allocations: 3.844 kB / 0.716 GB, free: 40.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004271/1.599, allocations: 2.124 MB / 0.718 GB, free: 40.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003246/1.599, allocations: 1.522 MB / 0.7195 GB, free: 39.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.599, allocations: 7.234 kB / 0.7195 GB, free: 39.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008778/1.608, allocations: 2.666 MB / 0.7221 GB, free: 38.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.609, allocations: 178.4 kB / 0.7223 GB, free: 38.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006564/1.615, allocations: 2.959 MB / 0.7252 GB, free: 38.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.618, allocations: 247.7 kB / 0.7254 GB, free: 38.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/1.618, allocations: 49.73 kB / 0.7255 GB, free: 38.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.618, allocations: 3.906 kB / 0.7255 GB, free: 38.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003782/1.622, allocations: 1.909 MB / 0.7274 GB, free: 38.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.622, allocations: 3.906 kB / 0.7274 GB, free: 38.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008492/1.631, allocations: 2.639 MB / 0.7299 GB, free: 38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.632, allocations: 176.9 kB / 0.7301 GB, free: 37.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/1.638, allocations: 2.844 MB / 0.7329 GB, free: 37.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/1.641, allocations: 237.9 kB / 0.7331 GB, free: 37.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/1.641, allocations: 52.34 kB / 0.7332 GB, free: 37.31 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cSVGN1.add2.y:VARIABLE() "Connector of Real output signal" type: Real 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,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {32 43} Notification: Performance of prepare postOptimizeDAE: time 0.0005885/1.642, allocations: 128.5 kB / 0.7333 GB, free: 37.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/1.643, allocations: 178.2 kB / 0.7335 GB, free: 37.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.659, allocations: 5.564 MB / 0.7389 GB, free: 36.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/1.659, allocations: 15.59 kB / 0.7389 GB, free: 36.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.659, allocations: 0 / 0.7389 GB, free: 36.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-05/1.66, allocations: 6.047 kB / 0.7389 GB, free: 36.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.681, allocations: 7.497 MB / 0.7462 GB, free: 35.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.681, allocations: 7.906 kB / 0.7462 GB, free: 35.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.682, allocations: 128.9 kB / 0.7464 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008722/1.691, allocations: 2.439 MB / 0.7487 GB, free: 35.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005412/1.691, allocations: 13.14 kB / 0.7488 GB, free: 35.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02548/1.717, allocations: 8.74 MB / 0.7573 GB, free: 33.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.717, allocations: 0 / 0.7573 GB, free: 33.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02137/1.738, allocations: 6.58 MB / 0.7637 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02029/1.759, allocations: 7.962 MB / 0.7715 GB, free: 22.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/1.759, allocations: 282.5 kB / 0.7718 GB, free: 22.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.76, allocations: 4 kB / 0.7718 GB, free: 22.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.761, allocations: 179.8 kB / 0.7719 GB, free: 21.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/1.762, allocations: 161 kB / 0.7721 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.762, allocations: 39.98 kB / 0.7721 GB, free: 21.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00112/1.763, allocations: 0.8426 MB / 0.7729 GB, free: 20.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003312/1.766, allocations: 0.7446 MB / 0.7737 GB, free: 20.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {27 41} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003904/1.767, allocations: 154.7 kB / 0.7738 GB, free: 20.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01384/1.781, allocations: 4.394 MB / 0.7781 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.781, allocations: 0 / 0.7781 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006509/1.787, allocations: 1.911 MB / 0.78 GB, free: 13.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.789, allocations: 113.4 kB / 0.7801 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/1.796, allocations: 2.531 MB / 0.7826 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.797, allocations: 1.423 MB / 0.7839 GB, free: 9.566 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/1.797, allocations: 0 / 0.7839 GB, free: 9.566 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)