Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_dev_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.003394/0.003394, allocations: 178.9 kB / 7.457 MB, free: 2.5 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.29/1.29, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0009481/0.0009481, allocations: 102.3 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4853/0.4853, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1699/0.6553, allocations: 75.64 MB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/1.039, allocations: 69.5 MB / 0.5419 GB, free: 20.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/1.185, allocations: 111.6 MB / 0.6509 GB, free: 8.227 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.186, allocations: 83.95 kB / 0.651 GB, free: 8.145 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.3719/1.558, allocations: 44.29 MB / 0.6942 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.558, allocations: 11.69 kB / 0.6942 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/1.561, allocations: 0.589 MB / 0.6948 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/1.564, allocations: 1.054 MB / 0.6958 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/1.565, allocations: 401 kB / 0.6962 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/1.566, allocations: 75.59 kB / 0.6963 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002855/1.568, allocations: 1.132 MB / 0.6974 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/1.571, allocations: 1.132 MB / 0.6985 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/1.572, allocations: 0 / 0.6985 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/1.572, allocations: 5.062 kB / 0.6985 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/1.572, allocations: 28.62 kB / 0.6985 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/1.584, allocations: 4.912 MB / 0.7033 GB, free: 99.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/1.586, allocations: 0.8104 MB / 0.7041 GB, free: 99.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/1.588, allocations: 0.7228 MB / 0.7048 GB, free: 99.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.588, allocations: 27.36 kB / 0.7049 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/1.59, allocations: 0.8613 MB / 0.7057 GB, free: 98.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 1.361e-05/1.59, allocations: 0 / 0.7057 GB, free: 98.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01954/1.61, allocations: 5.458 MB / 0.711 GB, free: 96.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/1.61, allocations: 125.6 kB / 0.7111 GB, free: 96.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/1.613, allocations: 1.103 MB / 0.7122 GB, free: 96.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004644/1.613, allocations: 25.7 kB / 0.7122 GB, free: 96.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/1.614, allocations: 393.7 kB / 0.7126 GB, free: 95.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.615, allocations: 467.9 kB / 0.7131 GB, free: 95.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.615, allocations: 0 / 0.7131 GB, free: 95.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/1.615, allocations: 358 kB / 0.7134 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.617, allocations: 0.5915 MB / 0.714 GB, free: 94.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.618, allocations: 0.774 MB / 0.7147 GB, free: 93.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/1.62, allocations: 0.6584 MB / 0.7154 GB, free: 93.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/1.62, allocations: 4 kB / 0.7154 GB, free: 93.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004699/1.625, allocations: 2.12 MB / 0.7175 GB, free: 91.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003305/1.625, allocations: 1.529 MB / 0.719 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.625, allocations: 7.938 kB / 0.719 GB, free: 89.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008678/1.634, allocations: 2.666 MB / 0.7216 GB, free: 86.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.635, allocations: 171.8 kB / 0.7217 GB, free: 86.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/1.641, allocations: 2.958 MB / 0.7246 GB, free: 83.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/1.643, allocations: 254.8 kB / 0.7249 GB, free: 83.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/1.644, allocations: 51.98 kB / 0.7249 GB, free: 83.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.644, allocations: 0 / 0.7249 GB, free: 83.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003548/1.647, allocations: 1.909 MB / 0.7268 GB, free: 81.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.647, allocations: 7.938 kB / 0.7268 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008476/1.656, allocations: 2.635 MB / 0.7294 GB, free: 78.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009961/1.657, allocations: 179.7 kB / 0.7295 GB, free: 78.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/1.663, allocations: 2.849 MB / 0.7323 GB, free: 75.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/1.665, allocations: 234.9 kB / 0.7325 GB, free: 75.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/1.666, allocations: 51.98 kB / 0.7326 GB, free: 75.36 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.0005275/1.666, allocations: 136.5 kB / 0.7327 GB, free: 75.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/1.667, allocations: 169.8 kB / 0.7329 GB, free: 75.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/1.683, allocations: 5.56 MB / 0.7383 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.683, allocations: 12 kB / 0.7383 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.683, allocations: 4 kB / 0.7383 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-05/1.683, allocations: 19.58 kB / 0.7383 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/1.704, allocations: 7.491 MB / 0.7457 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.704, allocations: 0 / 0.7457 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/1.705, allocations: 131.8 kB / 0.7458 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00807/1.713, allocations: 2.433 MB / 0.7482 GB, free: 59.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004926/1.714, allocations: 12 kB / 0.7482 GB, free: 59.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/1.735, allocations: 8.75 MB / 0.7567 GB, free: 50.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/1.735, allocations: 0 / 0.7567 GB, free: 50.48 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01815/1.753, allocations: 6.585 MB / 0.7631 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01945/1.773, allocations: 7.946 MB / 0.7709 GB, free: 35.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009061/1.774, allocations: 286.6 kB / 0.7712 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008889/1.775, allocations: 7.984 kB / 0.7712 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.777, allocations: 179.8 kB / 0.7714 GB, free: 35.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/1.778, allocations: 157 kB / 0.7715 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.778, allocations: 32 kB / 0.7715 GB, free: 35.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001403/1.779, allocations: 0.8504 MB / 0.7724 GB, free: 34.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004072/1.783, allocations: 0.7485 MB / 0.7731 GB, free: 33.66 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.0004356/1.784, allocations: 162.1 kB / 0.7732 GB, free: 33.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01504/1.799, allocations: 4.398 MB / 0.7775 GB, free: 29.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.799, allocations: 4.062 kB / 0.7775 GB, free: 29.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006046/1.805, allocations: 1.903 MB / 0.7794 GB, free: 27.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.807, allocations: 116.2 kB / 0.7795 GB, free: 27.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/1.815, allocations: 2.53 MB / 0.782 GB, free: 24.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.816, allocations: 1.415 MB / 0.7834 GB, free: 23.07 MB / 490.7 MB Notification: Performance of SimCode: time 4.849e-06/1.816, allocations: 0 / 0.7834 GB, free: 23.07 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)