Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.000693/0.000693, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000939/0.001632, allocations: 435.8 kB / 10.33 MB, free: 368 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.9416/0.9416, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1763/1.118, allocations: 53.64 MB / 241.9 MB, free: 2.746 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.0008849/0.0008849, allocations: 147.7 kB / 242.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.00196, allocations: 479.3 kB / 243.2 MB, free: 1.434 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.4383/0.4383, allocations: 88.98 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05446/0.4927, allocations: 30.2 MB / 363.1 MB, free: 3.254 MB / 346.7 MB " [Timeout remaining time 180] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 364.6 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.279e-05, allocations: 2.312 kB / 364.6 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01427/0.0143, allocations: 20.24 MB / 384.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.02612, allocations: 5.367 MB / 390.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.02884, allocations: 44 kB / 390.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.03066, allocations: 0.9294 MB / 391.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.03496, allocations: 2.422 MB / 393.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.03828, allocations: 2.067 MB / 395.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005666/0.04395, allocations: 5.921 MB / 401.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.04511, allocations: 0.9041 MB / 402.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/0.05115, allocations: 4.057 MB / 406.5 MB, free: 7.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.05329, allocations: 2.336 MB / 408.9 MB, free: 5.246 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005059/0.05379, allocations: 448 kB / 409.3 MB, free: 4.809 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.05474, allocations: 0.6169 MB / 409.9 MB, free: 4.191 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005581/0.0553, allocations: 0.8169 MB / 410.7 MB, free: 3.371 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.05658, allocations: 1.344 MB / 412.1 MB, free: 2.023 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.06021, allocations: 4.143 MB / 416.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.06022, allocations: 4 kB / 416.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.06022, allocations: 0 / 416.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.99e-05/0.06029, allocations: 0 / 416.2 MB, free: 13.86 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: 901 * Number of variables: 901 Notification: Performance of Generate backend data structure: time 0.01497/0.07526, allocations: 10.46 MB / 426.7 MB, free: 3.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.07531, allocations: 12.03 kB / 426.7 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.08874, allocations: 5.13 MB / 431.8 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/0.09229, allocations: 1.807 MB / 433.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007592/0.09305, allocations: 0.963 MB / 434.6 MB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00048/0.09353, allocations: 356 kB / 435 MB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.09701, allocations: 2.915 MB / 437.9 MB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/0.09706, allocations: 0 / 437.9 MB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.09729, allocations: 140 kB / 438 MB, free: 7.703 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.09734, allocations: 87.94 kB / 438.1 MB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.09938, allocations: 1.379 MB / 439.5 MB, free: 6.219 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.014/0.1134, allocations: 9.521 MB / 449 MB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.1165, allocations: 2.14 MB / 451.1 MB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009761/0.1175, allocations: 0.839 MB / 452 MB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.1178, allocations: 87.03 kB / 452.1 MB, free: 9.184 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/0.1194, allocations: 1.671 MB / 453.7 MB, free: 7.465 MB / 442.7 MB Notification: Performance of pre-optimization done (n=394): time 6.602e-06/0.1194, allocations: 0 / 453.7 MB, free: 7.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=394): time 0.1202/0.2396, allocations: 53.91 MB / 0.4957 GB, free: 1.395 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.2397, allocations: 116.2 kB / 0.4959 GB, free: 1.262 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2031/0.4428, allocations: 2.731 MB / 0.4985 GB, free: 118.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007593/0.4435, allocations: 94.47 kB / 0.4986 GB, free: 118.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008987/0.4444, allocations: 1.327 MB / 0.4999 GB, free: 118.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009993/0.4454, allocations: 1.415 MB / 0.5013 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008505/0.4463, allocations: 0.6965 MB / 0.502 GB, free: 117.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.129e-05/0.4463, allocations: 306.3 kB / 0.5023 GB, free: 117.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.4479, allocations: 0.9572 MB / 0.5032 GB, free: 117.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.4497, allocations: 1.593 MB / 0.5048 GB, free: 116.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/0.4531, allocations: 3.01 MB / 0.5077 GB, free: 116.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/0.4531, allocations: 6.344 kB / 0.5077 GB, free: 116.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01794/0.471, allocations: 10.61 MB / 0.5181 GB, free: 115.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.4711, allocations: 66.59 kB / 0.5181 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.4711, allocations: 12.34 kB / 0.5181 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01715/0.4883, allocations: 7.424 MB / 0.5254 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.4906, allocations: 0.7995 MB / 0.5262 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.5103, allocations: 11.96 MB / 0.5378 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.5132, allocations: 0.5558 MB / 0.5384 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.5134, allocations: 112 kB / 0.5385 GB, free: 101.2 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 (411): * Single equations (assignments): 408 * 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,48,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008662/0.5143, allocations: 359.8 kB / 0.5388 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.5148, allocations: 403.3 kB / 0.5392 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01591/0.5307, allocations: 9.989 MB / 0.549 GB, free: 90.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5307, allocations: 40 kB / 0.549 GB, free: 90.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.5307, allocations: 28 kB / 0.549 GB, free: 90.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.5308, allocations: 19.92 kB / 0.5491 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/0.5497, allocations: 11.88 MB / 0.5607 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5497, allocations: 0 / 0.5607 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.5509, allocations: 469.7 kB / 0.5611 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000933/0.5518, allocations: 440 kB / 0.5615 GB, free: 77.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01627/0.5681, allocations: 7.387 MB / 0.5687 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004649/0.5686, allocations: 79.86 kB / 0.5688 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.5869, allocations: 12.34 MB / 0.5809 GB, free: 57.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.587, allocations: 0 / 0.5809 GB, free: 57.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/0.6054, allocations: 10.85 MB / 0.5915 GB, free: 46.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007461/0.6061, allocations: 68 kB / 0.5915 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.608, allocations: 283.7 kB / 0.5918 GB, free: 46.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/0.6095, allocations: 0.784 MB / 0.5926 GB, free: 45.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.6097, allocations: 71.98 kB / 0.5926 GB, free: 45.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.6108, allocations: 1.482 MB / 0.5941 GB, free: 44.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6108, allocations: 2.188 kB / 0.5941 GB, free: 44.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003687/0.6145, allocations: 1.822 MB / 0.5959 GB, free: 42.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (261): * Single equations (assignments): 256 * 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.0004244/0.6149, allocations: 190.6 kB / 0.5961 GB, free: 42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008229/0.6231, allocations: 5.354 MB / 0.6013 GB, free: 36.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.17e-05/0.6232, allocations: 61.8 kB / 0.6013 GB, free: 36.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00576/0.629, allocations: 3.958 MB / 0.6052 GB, free: 32.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.6307, allocations: 0.7887 MB / 0.606 GB, free: 31.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0396/0.6703, allocations: 7.576 MB / 0.6134 GB, free: 24.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/0.6711, allocations: 0.8063 MB / 0.6142 GB, free: 23.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001197/0.6723, allocations: 383.5 kB / 0.6145 GB, free: 22.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/0.6732, allocations: 0.4915 MB / 0.615 GB, free: 22.38 MB / 490.7 MB Notification: Performance of SimCode: time 2.094e-06/0.6732, allocations: 0 / 0.615 GB, free: 22.38 MB / 490.7 MB Notification: Performance of Templates: time 0.2947/0.968, allocations: 101.2 MB / 0.7139 GB, free: 170.3 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.866352012380958]