Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 174.3 kB / 7.647 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.331/1.331, allocations: 221.5 MB / 229.6 MB, free: 3.18 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.001007/0.001007, allocations: 85.69 kB / 280.5 MB, free: 1.121 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6006/0.6006, allocations: 78.93 MB / 410.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.75e-05, allocations: 4 kB / 485.9 MB, free: 3.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.326, allocations: 69.51 MB / 0.5424 GB, free: 21.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4683, allocations: 110.7 MB / 0.6506 GB, free: 9.004 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4686, allocations: 91.94 kB / 0.6506 GB, free: 8.914 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3825/0.8512, allocations: 39.99 MB / 0.6897 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8512, allocations: 0 / 0.6897 GB, free: 106.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.578e-05/0.8513, allocations: 26.19 kB / 0.6897 GB, free: 106.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005036/0.8563, allocations: 2.05 MB / 0.6917 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8564, allocations: 11.47 kB / 0.6917 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003563/0.8599, allocations: 0.6705 MB / 0.6924 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.8614, allocations: 1.014 MB / 0.6934 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.8618, allocations: 398.5 kB / 0.6938 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.8619, allocations: 62.16 kB / 0.6938 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001775/0.8637, allocations: 1.08 MB / 0.6949 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.8655, allocations: 1.081 MB / 0.6959 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.8655, allocations: 4 kB / 0.6959 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.8656, allocations: 2.656 kB / 0.6959 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.8657, allocations: 23.62 kB / 0.696 GB, free: 103.9 MB / 490.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.007242/0.8729, allocations: 4.803 MB / 0.7007 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007189/0.8801, allocations: 3.073 MB / 0.7037 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.8811, allocations: 0.6977 MB / 0.7043 GB, free: 99.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.8813, allocations: 21.88 kB / 0.7044 GB, free: 99.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.8825, allocations: 0.8303 MB / 0.7052 GB, free: 99.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=125): time 2.966e-06/0.8825, allocations: 0 / 0.7052 GB, free: 99.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=125): time 0.01411/0.8966, allocations: 4.826 MB / 0.7099 GB, free: 98.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.8968, allocations: 116.8 kB / 0.71 GB, free: 98.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.8985, allocations: 1.089 MB / 0.7111 GB, free: 97.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002976/0.8988, allocations: 29.64 kB / 0.7111 GB, free: 97.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.8992, allocations: 0.6312 MB / 0.7117 GB, free: 97.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.8996, allocations: 430 kB / 0.7121 GB, free: 96.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.8997, allocations: 4.062 kB / 0.7121 GB, free: 96.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.8998, allocations: 355.1 kB / 0.7125 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.9006, allocations: 0.5542 MB / 0.713 GB, free: 95.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.9014, allocations: 0.7085 MB / 0.7137 GB, free: 95.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.9025, allocations: 0.6236 MB / 0.7143 GB, free: 94.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.9025, allocations: 0 / 0.7143 GB, free: 94.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003536/0.9061, allocations: 2.021 MB / 0.7163 GB, free: 92.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.9061, allocations: 11.95 kB / 0.7163 GB, free: 92.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.9061, allocations: 4 kB / 0.7163 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007688/0.9138, allocations: 2.499 MB / 0.7187 GB, free: 89.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.9146, allocations: 151.8 kB / 0.7189 GB, free: 89.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00495/0.9195, allocations: 2.739 MB / 0.7215 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.9218, allocations: 218.9 kB / 0.7218 GB, free: 86.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.922, allocations: 47.98 kB / 0.7218 GB, free: 86.76 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sCRX.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.9223, allocations: 125.2 kB / 0.7219 GB, free: 86.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.9226, allocations: 158 kB / 0.7221 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.9364, allocations: 4.953 MB / 0.7269 GB, free: 81.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.9365, allocations: 16 kB / 0.7269 GB, free: 81.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.9365, allocations: 0 / 0.7269 GB, free: 81.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-05/0.9366, allocations: 3.984 kB / 0.7269 GB, free: 81.48 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.01718/0.9537, allocations: 6.927 MB / 0.7337 GB, free: 74.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.9538, allocations: 0 / 0.7337 GB, free: 74.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009184/0.9547, allocations: 143.8 kB / 0.7338 GB, free: 74.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005867/0.9606, allocations: 1.986 MB / 0.7358 GB, free: 72.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/0.9609, allocations: 8 kB / 0.7358 GB, free: 72.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/0.9766, allocations: 7.705 MB / 0.7433 GB, free: 64.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.008e-05/0.9767, allocations: 0 / 0.7433 GB, free: 64.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/0.9924, allocations: 5.97 MB / 0.7491 GB, free: 58.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/0.9931, allocations: 275 kB / 0.7494 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.9934, allocations: 7.891 kB / 0.7494 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.995, allocations: 167.8 kB / 0.7496 GB, free: 58.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006632/0.9957, allocations: 257.3 kB / 0.7498 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.9958, allocations: 32 kB / 0.7498 GB, free: 57.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001004/0.9968, allocations: 0.832 MB / 0.7506 GB, free: 56.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9968, allocations: 0 / 0.7506 GB, free: 56.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001168/0.998, allocations: 467.1 kB / 0.7511 GB, free: 56.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003195/0.9983, allocations: 158.6 kB / 0.7512 GB, free: 56.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006217/1.005, allocations: 2.279 MB / 0.7535 GB, free: 54.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.005, allocations: 0 / 0.7535 GB, free: 54.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005145/1.01, allocations: 1.815 MB / 0.7552 GB, free: 52.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/1.011, allocations: 95.14 kB / 0.7553 GB, free: 52.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/1.015, allocations: 2.32 MB / 0.7576 GB, free: 49.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/1.015, allocations: 1.258 MB / 0.7588 GB, free: 48.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005492/1.016, allocations: 115.5 kB / 0.7589 GB, free: 48.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/1.016, allocations: 83.36 kB / 0.759 GB, free: 48.29 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/1.016, allocations: 0 / 0.759 GB, free: 48.29 MB / 490.7 MB Notification: Performance of Templates: time 0.02924/1.045, allocations: 23.13 MB / 0.7816 GB, free: 25.22 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)