Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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-master/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-master/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: translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1") translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1") [: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.002793/0.002793, allocations: 182.4 kB / 7.456 MB, free: 2.508 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.267/1.267, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009099/0.00091, allocations: 103.2 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06605/0.06605, allocations: 12.6 MB / 321.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2765/0.2765, allocations: 78.05 MB / 450.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.066e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 69.32 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4825, allocations: 112.5 MB / 0.6917 GB, free: 11.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4828, allocations: 84.33 kB / 0.6917 GB, free: 11.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1225/0.6053, allocations: 43.38 MB / 0.7341 GB, free: 8.426 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001802/0.6055, allocations: 32 kB / 0.7341 GB, free: 8.395 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.007162/0.6127, allocations: 2.202 MB / 0.7363 GB, free: 6.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6127, allocations: 11.97 kB / 0.7363 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/0.6165, allocations: 0.5889 MB / 0.7369 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.6193, allocations: 1.058 MB / 0.7379 GB, free: 4.891 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.6198, allocations: 404.7 kB / 0.7383 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.6202, allocations: 67.91 kB / 0.7384 GB, free: 4.363 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/0.6228, allocations: 1.125 MB / 0.7395 GB, free: 3.684 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.625, allocations: 1.151 MB / 0.7406 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.625, allocations: 0 / 0.7406 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.6251, allocations: 0 / 0.7406 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.6252, allocations: 28 kB / 0.7406 GB, free: 2.832 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00944/0.6346, allocations: 4.904 MB / 0.7454 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.636, allocations: 0.7847 MB / 0.7462 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.6372, allocations: 0.7348 MB / 0.7469 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.6373, allocations: 21.3 kB / 0.7469 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/0.6387, allocations: 0.8674 MB / 0.7477 GB, free: 12.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 1.045e-05/0.6387, allocations: 4 kB / 0.7477 GB, free: 12.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01748/0.6562, allocations: 5.459 MB / 0.7531 GB, free: 7.488 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.6564, allocations: 120.1 kB / 0.7532 GB, free: 7.344 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.6587, allocations: 1.113 MB / 0.7543 GB, free: 6.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003799/0.6591, allocations: 25.7 kB / 0.7543 GB, free: 6.195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.6595, allocations: 399.5 kB / 0.7547 GB, free: 5.797 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009527/0.6604, allocations: 468.9 kB / 0.7551 GB, free: 5.332 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6606, allocations: 0 / 0.7551 GB, free: 5.332 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.6609, allocations: 353.9 kB / 0.7555 GB, free: 4.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.6622, allocations: 0.5937 MB / 0.7561 GB, free: 4.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.6637, allocations: 0.7701 MB / 0.7568 GB, free: 3.562 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.6652, allocations: 0.6545 MB / 0.7574 GB, free: 2.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6652, allocations: 3.938 kB / 0.7574 GB, free: 2.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004797/0.67, allocations: 2.12 MB / 0.7595 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007259/0.6708, allocations: 1.53 MB / 0.761 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.6708, allocations: 4 kB / 0.761 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009443/0.6803, allocations: 2.663 MB / 0.7636 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.6813, allocations: 179.8 kB / 0.7638 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/0.688, allocations: 2.954 MB / 0.7667 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.6906, allocations: 254.8 kB / 0.7669 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.6909, allocations: 55.97 kB / 0.767 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.6909, allocations: 4 kB / 0.767 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004042/0.6949, allocations: 1.902 MB / 0.7688 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.695, allocations: 7.984 kB / 0.7688 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009328/0.7043, allocations: 2.639 MB / 0.7714 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.7054, allocations: 179.7 kB / 0.7716 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.7118, allocations: 2.848 MB / 0.7744 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.7143, allocations: 234.9 kB / 0.7746 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.7146, allocations: 51.97 kB / 0.7746 GB, free: 1.078 MB / 0.4948 GB 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.0004848/0.7151, allocations: 122.1 kB / 0.7748 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/0.7157, allocations: 173.8 kB / 0.7749 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/0.7337, allocations: 5.565 MB / 0.7804 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.7338, allocations: 12 kB / 0.7804 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7338, allocations: 4 kB / 0.7804 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-05/0.7338, allocations: 7.969 kB / 0.7804 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/0.7571, allocations: 7.5 MB / 0.7877 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.7572, allocations: 8 kB / 0.7877 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7583, allocations: 127.8 kB / 0.7878 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008958/0.7672, allocations: 2.441 MB / 0.7902 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003787/0.7677, allocations: 12 kB / 0.7902 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0251/0.7928, allocations: 8.746 MB / 0.7988 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7928, allocations: 0 / 0.7988 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02098/0.8138, allocations: 6.59 MB / 0.8052 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/0.8146, allocations: 290.5 kB / 0.8055 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006861/0.8153, allocations: 4 kB / 0.8055 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.8176, allocations: 183.8 kB / 0.8057 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/0.8182, allocations: 160.9 kB / 0.8058 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.8184, allocations: 35.98 kB / 0.8058 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001501/0.8199, allocations: 0.8428 MB / 0.8067 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002668/0.8225, allocations: 0.7291 MB / 0.8074 GB, free: 15.21 MB / 0.5417 GB 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.0004502/0.823, allocations: 147 kB / 0.8075 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01539/0.8384, allocations: 4.398 MB / 0.8118 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.8385, allocations: 0 / 0.8118 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006694/0.8452, allocations: 1.915 MB / 0.8137 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.8467, allocations: 113.4 kB / 0.8138 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/0.8545, allocations: 2.515 MB / 0.8163 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.8559, allocations: 1.383 MB / 0.8176 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.856, allocations: 0 / 0.8176 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of Templates: time 0.2563/1.112, allocations: 38 MB / 0.8547 GB, free: 241.8 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)