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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.384/1.384, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009489/0.0009489, allocations: 87.12 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5302/0.5302, allocations: 78.07 MB / 409.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.173e-05, allocations: 7.938 kB / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1716, allocations: 69.36 MB / 0.5414 GB, free: 6.711 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5187/0.6904, allocations: 111 MB / 0.6498 GB, free: 4.363 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.6908, allocations: 80.48 kB / 0.6498 GB, free: 4.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1257/0.8165, allocations: 44.79 MB / 0.6936 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8165, allocations: 0 / 0.6936 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.906e-05/0.8166, allocations: 32 kB / 0.6936 GB, free: 7.449 MB / 0.4948 GB 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.006163/0.8228, allocations: 2.135 MB / 0.6957 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.8229, allocations: 16.03 kB / 0.6957 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.826, allocations: 0.5558 MB / 0.6962 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.8279, allocations: 1.046 MB / 0.6973 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/0.8284, allocations: 396.7 kB / 0.6976 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.8287, allocations: 71.86 kB / 0.6977 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002416/0.8311, allocations: 1.129 MB / 0.6988 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.8333, allocations: 1.142 MB / 0.6999 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.8334, allocations: 0 / 0.6999 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.8335, allocations: 7.984 kB / 0.6999 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.8335, allocations: 24 kB / 0.7 GB, free: 0.7148 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.009871/0.8434, allocations: 4.853 MB / 0.7047 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008407/0.8518, allocations: 3.304 MB / 0.7079 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.8536, allocations: 0.7357 MB / 0.7086 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.8537, allocations: 25.28 kB / 0.7087 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.8553, allocations: 0.8674 MB / 0.7095 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=137): time 3.146e-06/0.8553, allocations: 0 / 0.7095 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137): time 0.01671/0.872, allocations: 5.152 MB / 0.7145 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.8721, allocations: 120.1 kB / 0.7147 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.8743, allocations: 1.105 MB / 0.7157 GB, free: 140 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004204/0.8747, allocations: 30.53 kB / 0.7158 GB, free: 104 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/0.8753, allocations: 0.6597 MB / 0.7164 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005431/0.8758, allocations: 461 kB / 0.7169 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.8759, allocations: 4 kB / 0.7169 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8761, allocations: 353.9 kB / 0.7172 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009992/0.8771, allocations: 0.582 MB / 0.7178 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.8782, allocations: 0.7623 MB / 0.7185 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.8794, allocations: 0.6393 MB / 0.7191 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.8794, allocations: 8 kB / 0.7191 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003875/0.8833, allocations: 2.073 MB / 0.7212 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005853/0.8839, allocations: 1.542 MB / 0.7227 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.8839, allocations: 4 kB / 0.7227 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008189/0.8921, allocations: 2.586 MB / 0.7252 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/0.893, allocations: 179.8 kB / 0.7254 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.8985, allocations: 2.82 MB / 0.7281 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.9007, allocations: 245 kB / 0.7284 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.9009, allocations: 43.98 kB / 0.7284 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9009, allocations: 4 kB / 0.7284 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003469/0.9044, allocations: 1.866 MB / 0.7302 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9044, allocations: 7.953 kB / 0.7302 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00837/0.9128, allocations: 2.566 MB / 0.7327 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.9137, allocations: 171.7 kB / 0.7329 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/0.9191, allocations: 2.752 MB / 0.7356 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.9212, allocations: 228.2 kB / 0.7358 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.9213, allocations: 51.97 kB / 0.7359 GB, free: 11.25 MB / 0.5417 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.0003834/0.9217, allocations: 125.9 kB / 0.736 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01581/0.9376, allocations: 5.137 MB / 0.741 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007763/0.9384, allocations: 170.9 kB / 0.7412 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/0.9545, allocations: 5.274 MB / 0.7463 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.9546, allocations: 15.98 kB / 0.7463 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.9546, allocations: 0 / 0.7463 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-05/0.9546, allocations: 3.984 kB / 0.7463 GB, free: 484 kB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01943/0.9741, allocations: 7.315 MB / 0.7535 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.9742, allocations: 5.375 kB / 0.7535 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.975, allocations: 123.9 kB / 0.7536 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007772/0.9828, allocations: 2.359 MB / 0.7559 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002688/0.9831, allocations: 19.98 kB / 0.7559 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3517/1.335, allocations: 9.251 MB / 0.765 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.335, allocations: 2.531 kB / 0.765 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/1.352, allocations: 6.289 MB / 0.7711 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/1.353, allocations: 284.3 kB / 0.7714 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/1.353, allocations: 13.58 kB / 0.7714 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/1.355, allocations: 166 kB / 0.7715 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009228/1.356, allocations: 272.6 kB / 0.7718 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.356, allocations: 40.2 kB / 0.7718 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001261/1.358, allocations: 0.8392 MB / 0.7727 GB, free: 135 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/1.358, allocations: 0 / 0.7727 GB, free: 135 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002074/1.36, allocations: 0.7346 MB / 0.7734 GB, free: 134.9 MB / 0.5573 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.0179/1.378, allocations: 6.957 MB / 0.7802 GB, free: 134 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01493/1.393, allocations: 4.15 MB / 0.7842 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.393, allocations: 1.281 kB / 0.7842 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00645/1.399, allocations: 1.956 MB / 0.7861 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.401, allocations: 116.2 kB / 0.7862 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/1.407, allocations: 2.653 MB / 0.7888 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/1.408, allocations: 1.311 MB / 0.7901 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001281/1.409, allocations: 243 kB / 0.7903 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007024/1.41, allocations: 0.6121 MB / 0.7909 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.013e-06/1.41, allocations: 0 / 0.7909 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09365/1.503, allocations: 46.14 MB / 0.836 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/1.504, allocations: 121.1 kB / 0.8361 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.083/5.587, allocations: 0 / 0.8361 GB, free: 128.4 MB / 0.5573 GB (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)