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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1") translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 238.8 MB, free: 4.746 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 184.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5478/0.5478, allocations: 91.89 MB / 431.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 71.89 kB / 0.5012 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5141, allocations: 71.26 MB / 0.5708 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Banks.PSSE.CSVGN1): time 0.008373/0.5225, allocations: 9.014 MB / 0.5796 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006041/0.5286, allocations: 2.753 MB / 0.5823 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.5305, allocations: 16.97 kB / 0.5823 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.5317, allocations: 271.7 kB / 0.5826 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.5349, allocations: 0.9345 MB / 0.5835 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.5369, allocations: 0.8326 MB / 0.5843 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003232/0.5402, allocations: 2.259 MB / 0.5865 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.5409, allocations: 435.5 kB / 0.5869 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.5425, allocations: 0.8442 MB / 0.5877 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.5439, allocations: 1.133 MB / 0.5888 GB, free: 25.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.5443, allocations: 114.4 kB / 0.5889 GB, free: 25.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00096/0.5452, allocations: 336.2 kB / 0.5893 GB, free: 25.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.5456, allocations: 410.4 kB / 0.5897 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008788/0.5465, allocations: 0.8837 MB / 0.5905 GB, free: 24.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.549, allocations: 2.358 MB / 0.5928 GB, free: 23.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.549, allocations: 1.375 kB / 0.5928 GB, free: 23.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.549, allocations: 0 / 0.5928 GB, free: 23.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.655e-05/0.5491, allocations: 0 / 0.5928 GB, free: 23.95 MB / 430.1 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.015/0.5641, allocations: 3.776 MB / 0.5965 GB, free: 22.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5641, allocations: 8.156 kB / 0.5965 GB, free: 22.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/0.5694, allocations: 0.7569 MB / 0.5973 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.5725, allocations: 1.184 MB / 0.5984 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/0.573, allocations: 433.9 kB / 0.5988 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.5733, allocations: 121.4 kB / 0.5989 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.577, allocations: 1.508 MB / 0.6004 GB, free: 20.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.5771, allocations: 7.938 kB / 0.6004 GB, free: 20.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.5772, allocations: 40.94 kB / 0.6005 GB, free: 20.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.5773, allocations: 25.22 kB / 0.6005 GB, free: 20.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.5807, allocations: 1.421 MB / 0.6019 GB, free: 19.88 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.5928, allocations: 5.13 MB / 0.6069 GB, free: 16.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008837/0.6017, allocations: 3.133 MB / 0.6099 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.6041, allocations: 0.9682 MB / 0.6109 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.6043, allocations: 21.56 kB / 0.6109 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002373/0.6067, allocations: 1.106 MB / 0.612 GB, free: 14.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 3.847e-06/0.6067, allocations: 0 / 0.612 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.0525/0.6592, allocations: 12.65 MB / 0.6243 GB, free: 7.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.6593, allocations: 124.1 kB / 0.6245 GB, free: 7.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.6616, allocations: 1.478 MB / 0.6259 GB, free: 5.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005374/0.6622, allocations: 57.7 kB / 0.626 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.6626, allocations: 0.6321 MB / 0.6266 GB, free: 5.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005368/0.6631, allocations: 492.9 kB / 0.627 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005841/0.6637, allocations: 347.4 kB / 0.6274 GB, free: 4.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.6638, allocations: 313 kB / 0.6277 GB, free: 3.922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.6657, allocations: 0.9964 MB / 0.6286 GB, free: 2.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.6676, allocations: 1.212 MB / 0.6298 GB, free: 1.656 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/0.6715, allocations: 2.161 MB / 0.6319 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.6716, allocations: 0 / 0.6319 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.0189/0.6905, allocations: 5.734 MB / 0.6375 GB, free: 9.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.6905, allocations: 12.06 kB / 0.6376 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.6906, allocations: 4 kB / 0.6376 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.7009, allocations: 2.849 MB / 0.6403 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.7026, allocations: 287.6 kB / 0.6406 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/0.7104, allocations: 3.084 MB / 0.6436 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.7133, allocations: 258.2 kB / 0.6439 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.7135, allocations: 67.97 kB / 0.6439 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002703/0.7162, allocations: 1.211 MB / 0.6451 GB, free: 1.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002258/0.7185, allocations: 1.196 MB / 0.6463 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00434/0.7229, allocations: 2.146 MB / 0.6484 GB, free: 14.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.745e-06/0.7229, allocations: 4 kB / 0.6484 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.01801/0.7409, allocations: 5.655 MB / 0.6539 GB, free: 8.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.741, allocations: 7.938 kB / 0.6539 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.741, allocations: 4 kB / 0.6539 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009864/0.7509, allocations: 2.834 MB / 0.6567 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.7525, allocations: 287.6 kB / 0.657 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007333/0.7599, allocations: 2.998 MB / 0.6599 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.7628, allocations: 238.5 kB / 0.6601 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.763, allocations: 71.97 kB / 0.6602 GB, free: 2.301 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(31,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0005203/0.7636, allocations: 271.9 kB / 0.6604 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/0.764, allocations: 173.8 kB / 0.6606 GB, free: 1.855 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/0.7819, allocations: 5.117 MB / 0.6656 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.782, allocations: 12 kB / 0.6656 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.782, allocations: 4 kB / 0.6656 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.097e-05/0.7821, allocations: 7.969 kB / 0.6656 GB, free: 12.7 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/0.8039, allocations: 7.345 MB / 0.6728 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.804, allocations: 7.938 kB / 0.6728 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009274/0.8049, allocations: 123.8 kB / 0.6729 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008984/0.8139, allocations: 2.543 MB / 0.6754 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003437/0.8143, allocations: 27.94 kB / 0.6754 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0284/0.8427, allocations: 10.89 MB / 0.6861 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8428, allocations: 0 / 0.6861 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/0.8624, allocations: 6.273 MB / 0.6922 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/0.8632, allocations: 286.5 kB / 0.6925 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/0.8636, allocations: 28 kB / 0.6925 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.8654, allocations: 143.8 kB / 0.6926 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009344/0.8663, allocations: 269.3 kB / 0.6929 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8664, allocations: 43.94 kB / 0.6929 GB, free: 376 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001663/0.8681, allocations: 1.004 MB / 0.6939 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8681, allocations: 0 / 0.6939 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002664/0.8708, allocations: 0.8895 MB / 0.6948 GB, free: 14.48 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(27,41)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003827/0.8712, allocations: 152.9 kB / 0.6949 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01602/0.8872, allocations: 4.993 MB / 0.6998 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.8872, allocations: 0 / 0.6998 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006555/0.8938, allocations: 2.033 MB / 0.7018 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.8956, allocations: 158 kB / 0.7019 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.9018, allocations: 3.75 MB / 0.7056 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.9027, allocations: 1.273 MB / 0.7068 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009025/0.9036, allocations: 170.8 kB / 0.707 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.9039, allocations: 95.41 kB / 0.7071 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of SimCode: time 1.322e-06/0.904, allocations: 3.938 kB / 0.7071 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.0572/0.9612, allocations: 36.09 MB / 0.7423 GB, free: 13.73 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)