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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001744/0.001744, allocations: 178.4 kB / 7.65 MB, free: 1.422 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.878/1.878, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.000932/0.0009321, allocations: 93.19 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06342/0.06342, allocations: 12.19 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3164/0.3164, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.045e-05, allocations: 0 / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1775, allocations: 69.23 MB / 0.5818 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5793/0.7569, allocations: 112.5 MB / 0.6917 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.7573, allocations: 83.14 kB / 0.6918 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1184/0.8757, allocations: 43.68 MB / 0.7344 GB, free: 8.598 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.8757, allocations: 4 kB / 0.7344 GB, free: 8.594 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.77e-05/0.8759, allocations: 32 kB / 0.7345 GB, free: 8.562 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.005525/0.8814, allocations: 2.138 MB / 0.7366 GB, free: 6.531 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.8815, allocations: 12.03 kB / 0.7366 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.8845, allocations: 0.5589 MB / 0.7371 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.8864, allocations: 1.051 MB / 0.7381 GB, free: 5.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004628/0.8868, allocations: 400.2 kB / 0.7385 GB, free: 4.703 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.887, allocations: 63.98 kB / 0.7386 GB, free: 4.641 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001995/0.889, allocations: 1.134 MB / 0.7397 GB, free: 3.953 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.891, allocations: 1.137 MB / 0.7408 GB, free: 3.141 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.891, allocations: 0 / 0.7408 GB, free: 3.141 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.8911, allocations: 4 kB / 0.7408 GB, free: 3.137 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.8912, allocations: 24 kB / 0.7408 GB, free: 3.113 MB / 474.7 MB 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.008375/0.8996, allocations: 4.858 MB / 0.7456 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007509/0.9071, allocations: 3.304 MB / 0.7488 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.9084, allocations: 0.733 MB / 0.7495 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.9086, allocations: 25.23 kB / 0.7495 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.91, allocations: 0.8752 MB / 0.7504 GB, free: 10.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 3.166e-06/0.91, allocations: 0 / 0.7504 GB, free: 10.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01599/0.926, allocations: 5.145 MB / 0.7554 GB, free: 5.422 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.9261, allocations: 120.1 kB / 0.7555 GB, free: 5.281 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.9286, allocations: 1.102 MB / 0.7566 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005123/0.9291, allocations: 29.73 kB / 0.7566 GB, free: 4.141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/0.9297, allocations: 0.6558 MB / 0.7573 GB, free: 3.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006774/0.9304, allocations: 480.9 kB / 0.7577 GB, free: 3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.9305, allocations: 0 / 0.7577 GB, free: 3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.9307, allocations: 361.8 kB / 0.7581 GB, free: 2.641 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.9318, allocations: 0.5858 MB / 0.7587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.933, allocations: 0.7585 MB / 0.7594 GB, free: 1.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.9342, allocations: 0.6428 MB / 0.76 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.9343, allocations: 0 / 0.76 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004147/0.9384, allocations: 2.076 MB / 0.7621 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007825/0.9392, allocations: 1.535 MB / 0.7636 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.9393, allocations: 4 kB / 0.7636 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008392/0.9477, allocations: 2.586 MB / 0.7661 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/0.9487, allocations: 175.7 kB / 0.7663 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.9542, allocations: 2.822 MB / 0.769 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.9566, allocations: 242.7 kB / 0.7692 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.9567, allocations: 51.98 kB / 0.7693 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.9568, allocations: 4 kB / 0.7693 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003668/0.9604, allocations: 1.869 MB / 0.7711 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.9605, allocations: 4 kB / 0.7711 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/0.9686, allocations: 2.562 MB / 0.7736 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/0.9695, allocations: 175.7 kB / 0.7738 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.9748, allocations: 2.741 MB / 0.7765 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.9771, allocations: 226.9 kB / 0.7767 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.9773, allocations: 51.98 kB / 0.7767 GB, free: 15.27 MB / 0.5105 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.0004547/0.9777, allocations: 124.7 kB / 0.7769 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01536/0.9931, allocations: 5.152 MB / 0.7819 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009057/0.9941, allocations: 165.9 kB / 0.782 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.009, allocations: 5.263 MB / 0.7872 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/1.009, allocations: 16 kB / 0.7872 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.01, allocations: 0 / 0.7872 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/1.01, allocations: 3.984 kB / 0.7872 GB, free: 4.492 MB / 0.5105 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.01846/1.028, allocations: 7.321 MB / 0.7944 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.028, allocations: 0 / 0.7944 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008078/1.029, allocations: 127.8 kB / 0.7945 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007449/1.036, allocations: 2.36 MB / 0.7968 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/1.037, allocations: 7.984 kB / 0.7968 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/1.057, allocations: 9.272 MB / 0.8058 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.057, allocations: 4 kB / 0.8058 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01779/1.075, allocations: 6.298 MB / 0.812 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008115/1.076, allocations: 286.6 kB / 0.8123 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/1.076, allocations: 4 kB / 0.8123 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.078, allocations: 175.8 kB / 0.8124 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008363/1.078, allocations: 269.4 kB / 0.8127 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.078, allocations: 43.98 kB / 0.8127 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001248/1.08, allocations: 0.8388 MB / 0.8136 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.08, allocations: 0 / 0.8136 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001974/1.082, allocations: 0.733 MB / 0.8143 GB, free: 8.438 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.01761/1.099, allocations: 6.98 MB / 0.8211 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.112, allocations: 4.138 MB / 0.8251 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.112, allocations: 0 / 0.8251 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005659/1.118, allocations: 1.955 MB / 0.827 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.119, allocations: 125.3 kB / 0.8272 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/1.124, allocations: 2.641 MB / 0.8297 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008934/1.125, allocations: 1.31 MB / 0.831 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001054/1.126, allocations: 245.7 kB / 0.8313 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007307/1.127, allocations: 0.6125 MB / 0.8318 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/1.127, allocations: 4 kB / 0.8319 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3457/1.473, allocations: 46.16 MB / 0.8769 GB, free: 169.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/1.473, allocations: 116.7 kB / 0.877 GB, free: 168.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.188/5.662, allocations: 0 / 0.877 GB, free: 168.9 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)