Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006789/0.0006789, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009607/0.00164, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9148/0.9148, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1733/1.088, allocations: 53.65 MB / 242 MB, free: 2.609 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 167.1 kB / 242.9 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002078, allocations: 471.6 kB / 243.4 MB, free: 1.273 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4735/0.4735, allocations: 89.11 MB / 333.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04963/0.5231, allocations: 30.21 MB / 363.5 MB, free: 3.102 MB / 346.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 364.9 MB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.468e-05, allocations: 5.266 kB / 364.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02125/0.02127, allocations: 20.28 MB / 385.2 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.03715, allocations: 5.398 MB / 390.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.04069, allocations: 44 kB / 390.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.04251, allocations: 0.9255 MB / 391.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.04742, allocations: 2.438 MB / 394 MB, free: 4.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.05085, allocations: 2.071 MB / 396.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005862/0.05671, allocations: 5.948 MB / 402 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.05801, allocations: 0.9042 MB / 402.9 MB, free: 11.47 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.06274, allocations: 4.084 MB / 407 MB, free: 7.301 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.06527, allocations: 2.352 MB / 409.4 MB, free: 4.941 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.06619, allocations: 448 kB / 409.8 MB, free: 4.504 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.06722, allocations: 0.6169 MB / 410.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005277/0.06775, allocations: 0.8247 MB / 411.2 MB, free: 3.059 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.0689, allocations: 1.348 MB / 412.6 MB, free: 1.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.07242, allocations: 4.147 MB / 416.7 MB, free: 13.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.07244, allocations: 0 / 416.7 MB, free: 13.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.07244, allocations: 0 / 416.7 MB, free: 13.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.674e-05/0.07248, allocations: 4 kB / 416.7 MB, free: 13.54 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.01416/0.08664, allocations: 10.49 MB / 427.2 MB, free: 2.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.08668, allocations: 12.75 kB / 427.2 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.1005, allocations: 5.134 MB / 432.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.1036, allocations: 1.799 MB / 434.2 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005198/0.1041, allocations: 0.9591 MB / 435.1 MB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006442/0.1048, allocations: 363.9 kB / 435.5 MB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.108, allocations: 2.911 MB / 438.4 MB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/0.108, allocations: 0 / 438.4 MB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.1083, allocations: 140 kB / 438.5 MB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.1083, allocations: 91.94 kB / 438.6 MB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.1103, allocations: 1.379 MB / 440 MB, free: 5.863 MB / 426.7 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.01318/0.1235, allocations: 9.533 MB / 449.5 MB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.1269, allocations: 2.159 MB / 451.7 MB, free: 9.738 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.1279, allocations: 0.8363 MB / 452.5 MB, free: 8.887 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.1283, allocations: 83.03 kB / 452.6 MB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.1299, allocations: 1.678 MB / 454.3 MB, free: 7.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=395): time 6.783e-06/0.1299, allocations: 0 / 454.3 MB, free: 7.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=395): time 0.118/0.248, allocations: 53.91 MB / 0.4963 GB, free: 1.008 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.248, allocations: 116.2 kB / 0.4964 GB, free: 0.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1496/0.3976, allocations: 2.744 MB / 0.4991 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006777/0.3983, allocations: 92.75 kB / 0.4992 GB, free: 119.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008088/0.3991, allocations: 1.326 MB / 0.5005 GB, free: 119.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.4002, allocations: 1.42 MB / 0.5019 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009711/0.4012, allocations: 0.6998 MB / 0.5025 GB, free: 118.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.728e-05/0.4012, allocations: 304.7 kB / 0.5028 GB, free: 118.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.4028, allocations: 0.9647 MB / 0.5038 GB, free: 118.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.4045, allocations: 1.599 MB / 0.5053 GB, free: 117.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.4078, allocations: 3.116 MB / 0.5084 GB, free: 116.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/0.4078, allocations: 4.312 kB / 0.5084 GB, free: 116.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01814/0.426, allocations: 10.6 MB / 0.5187 GB, free: 116.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.426, allocations: 67.89 kB / 0.5188 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.426, allocations: 19.03 kB / 0.5188 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01732/0.4434, allocations: 7.549 MB / 0.5262 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.4454, allocations: 0.8135 MB / 0.527 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.4673, allocations: 12.46 MB / 0.5392 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.4704, allocations: 0.5403 MB / 0.5397 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.4707, allocations: 121.2 kB / 0.5398 GB, free: 100.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 14 (aVRTypeII.lagLimWindupGuard.inputLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.atMin,$PRE.aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.atMax,$PRE.aVRTypeII.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(92,47,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.4717, allocations: 361.5 kB / 0.5402 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/0.4724, allocations: 399.6 kB / 0.5405 GB, free: 99.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/0.4886, allocations: 10.01 MB / 0.5503 GB, free: 89.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.4887, allocations: 40 kB / 0.5503 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/0.4887, allocations: 28 kB / 0.5504 GB, free: 89.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.835e-05/0.4888, allocations: 15.94 kB / 0.5504 GB, free: 89.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/0.5089, allocations: 11.89 MB / 0.562 GB, free: 77.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.5089, allocations: 4.031 kB / 0.562 GB, free: 77.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.5102, allocations: 476.4 kB / 0.5625 GB, free: 77.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.5111, allocations: 444 kB / 0.5629 GB, free: 76.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/0.5285, allocations: 7.535 MB / 0.5702 GB, free: 69.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007222/0.5292, allocations: 71.98 kB / 0.5703 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.5494, allocations: 12.92 MB / 0.5829 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5494, allocations: 7.938 kB / 0.5829 GB, free: 56.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.5674, allocations: 10.9 MB / 0.5936 GB, free: 45.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000714/0.5681, allocations: 68 kB / 0.5936 GB, free: 45.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/0.57, allocations: 291.7 kB / 0.5939 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/0.5715, allocations: 0.7763 MB / 0.5947 GB, free: 43.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.5717, allocations: 71.97 kB / 0.5947 GB, free: 43.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009772/0.5727, allocations: 1.491 MB / 0.5962 GB, free: 42.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5727, allocations: 0.6562 kB / 0.5962 GB, free: 42.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00342/0.5761, allocations: 1.834 MB / 0.598 GB, free: 40.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004262/0.5765, allocations: 183.3 kB / 0.5982 GB, free: 40.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007875/0.5844, allocations: 5.392 MB / 0.6034 GB, free: 35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.426e-05/0.5845, allocations: 61.75 kB / 0.6035 GB, free: 34.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006098/0.5906, allocations: 4.175 MB / 0.6076 GB, free: 30.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.5929, allocations: 1.456 MB / 0.609 GB, free: 29.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03841/0.6313, allocations: 7.605 MB / 0.6164 GB, free: 21.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.6319, allocations: 0.8107 MB / 0.6172 GB, free: 20.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.633, allocations: 384.4 kB / 0.6176 GB, free: 20.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008635/0.6338, allocations: 0.5227 MB / 0.6181 GB, free: 19.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.863e-06/0.6338, allocations: 0.7656 kB / 0.6181 GB, free: 19.8 MB / 490.7 MB Notification: Performance of Templates: time 0.2493/0.8832, allocations: 104.6 MB / 0.7202 GB, free: 171.3 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.443698273971677]