Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_release_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.002882/0.002882, allocations: 182.9 kB / 7.461 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.078/1.078, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.0008865/0.0008864, allocations: 101.5 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3742/0.3742, allocations: 78.1 MB / 409 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1243/0.4986, allocations: 75.49 MB / 484.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.7525, allocations: 69.34 MB / 0.5408 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.8685, allocations: 110.9 MB / 0.6491 GB, free: 10.11 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.8688, allocations: 83.95 kB / 0.6492 GB, free: 10.03 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.2968/1.166, allocations: 46.72 MB / 0.6948 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/1.166, allocations: 7.781 kB / 0.6949 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/1.168, allocations: 0.5859 MB / 0.6954 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.17, allocations: 1.059 MB / 0.6965 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/1.17, allocations: 401.2 kB / 0.6968 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/1.17, allocations: 70.41 kB / 0.6969 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001768/1.172, allocations: 1.127 MB / 0.698 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/1.174, allocations: 1.141 MB / 0.6991 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.174, allocations: 0 / 0.6991 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.174, allocations: 5.062 kB / 0.6991 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/1.174, allocations: 28.75 kB / 0.6992 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008081/1.182, allocations: 4.897 MB / 0.7039 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/1.184, allocations: 0.7951 MB / 0.7047 GB, free: 99.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/1.185, allocations: 0.728 MB / 0.7054 GB, free: 99.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/1.185, allocations: 32.03 kB / 0.7055 GB, free: 99.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/1.186, allocations: 0.8602 MB / 0.7063 GB, free: 98.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 3.015e-06/1.186, allocations: 0 / 0.7063 GB, free: 98.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01658/1.203, allocations: 5.463 MB / 0.7116 GB, free: 97.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.203, allocations: 117.9 kB / 0.7117 GB, free: 97.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.205, allocations: 1.106 MB / 0.7128 GB, free: 96.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002872/1.205, allocations: 25.7 kB / 0.7129 GB, free: 96.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/1.205, allocations: 394.7 kB / 0.7132 GB, free: 96.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004774/1.206, allocations: 483 kB / 0.7137 GB, free: 95.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/1.206, allocations: 0 / 0.7137 GB, free: 95.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.621e-05/1.206, allocations: 356 kB / 0.714 GB, free: 95.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009353/1.207, allocations: 0.592 MB / 0.7146 GB, free: 94.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/1.208, allocations: 0.7663 MB / 0.7154 GB, free: 94.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/1.209, allocations: 0.6506 MB / 0.716 GB, free: 93.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.209, allocations: 0 / 0.716 GB, free: 93.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003381/1.212, allocations: 2.124 MB / 0.7181 GB, free: 91.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002606/1.212, allocations: 1.533 MB / 0.7196 GB, free: 89.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.212, allocations: 4 kB / 0.7196 GB, free: 89.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00779/1.22, allocations: 2.668 MB / 0.7222 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/1.221, allocations: 175.7 kB / 0.7223 GB, free: 86.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/1.226, allocations: 2.969 MB / 0.7252 GB, free: 83.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.228, allocations: 242.8 kB / 0.7255 GB, free: 83.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.228, allocations: 51.98 kB / 0.7255 GB, free: 83.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/1.228, allocations: 8 kB / 0.7255 GB, free: 83.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003027/1.231, allocations: 1.906 MB / 0.7274 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.231, allocations: 8.031 kB / 0.7274 GB, free: 81.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007752/1.239, allocations: 2.638 MB / 0.73 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/1.24, allocations: 171.7 kB / 0.7301 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/1.245, allocations: 2.845 MB / 0.7329 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/1.247, allocations: 246.8 kB / 0.7331 GB, free: 75.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.247, allocations: 51.98 kB / 0.7332 GB, free: 75.68 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.0003483/1.248, allocations: 128.7 kB / 0.7333 GB, free: 75.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/1.248, allocations: 173.8 kB / 0.7335 GB, free: 75.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/1.263, allocations: 5.563 MB / 0.7389 GB, free: 69.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/1.263, allocations: 16 kB / 0.7389 GB, free: 69.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.263, allocations: 0 / 0.7389 GB, free: 69.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/1.263, allocations: 7.969 kB / 0.7389 GB, free: 69.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.281, allocations: 7.492 MB / 0.7463 GB, free: 62.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.281, allocations: 0 / 0.7463 GB, free: 62.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/1.282, allocations: 131.9 kB / 0.7464 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007092/1.289, allocations: 2.441 MB / 0.7488 GB, free: 59.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/1.289, allocations: 11.98 kB / 0.7488 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/1.308, allocations: 8.743 MB / 0.7573 GB, free: 50.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.308, allocations: 4 kB / 0.7573 GB, free: 50.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01691/1.325, allocations: 6.582 MB / 0.7637 GB, free: 44.21 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01811/1.343, allocations: 7.949 MB / 0.7715 GB, free: 36.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/1.344, allocations: 286.5 kB / 0.7718 GB, free: 35.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/1.345, allocations: 8 kB / 0.7718 GB, free: 35.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.346, allocations: 191.8 kB / 0.772 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/1.347, allocations: 153 kB / 0.7721 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.347, allocations: 39.98 kB / 0.7722 GB, free: 35.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001184/1.348, allocations: 0.8387 MB / 0.773 GB, free: 34.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003429/1.352, allocations: 0.7524 MB / 0.7737 GB, free: 33.98 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.0003519/1.352, allocations: 154.8 kB / 0.7739 GB, free: 33.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01254/1.364, allocations: 4.398 MB / 0.7782 GB, free: 29.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.365, allocations: 0 / 0.7782 GB, free: 29.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005476/1.37, allocations: 1.91 MB / 0.78 GB, free: 27.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/1.371, allocations: 116.9 kB / 0.7801 GB, free: 27.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/1.377, allocations: 2.527 MB / 0.7826 GB, free: 24.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009883/1.378, allocations: 1.423 MB / 0.784 GB, free: 23.38 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/1.378, allocations: 4 kB / 0.784 GB, free: 23.38 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_release_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)