Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001318/0.001318, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001963/0.003281, 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.9194/0.9194, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1761/1.096, allocations: 53.64 MB / 241.9 MB, free: 2.738 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.0009001/0.0009001, allocations: 157 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.002056, allocations: 481.6 kB / 243.2 MB, free: 1.422 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4714/0.4714, allocations: 89.06 MB / 333 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06856/0.54, allocations: 30.21 MB / 363.2 MB, free: 3.18 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 3.2.0-dev/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_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 364.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.586e-05, allocations: 4.844 kB / 364.7 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02376/0.02379, allocations: 20.24 MB / 384.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.03693, allocations: 5.367 MB / 390.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.0402, allocations: 47.94 kB / 390.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.04203, allocations: 0.9216 MB / 391.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.04711, allocations: 2.435 MB / 393.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.05032, allocations: 2.063 MB / 395.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004957/0.05527, allocations: 5.917 MB / 401.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.05628, allocations: 0.908 MB / 402.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/0.06034, allocations: 4.053 MB / 406.6 MB, free: 7.523 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.06207, allocations: 2.34 MB / 409 MB, free: 5.176 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.06248, allocations: 448 kB / 409.4 MB, free: 4.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.0633, allocations: 0.6091 MB / 410 MB, free: 4.129 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.06381, allocations: 0.8208 MB / 410.8 MB, free: 3.305 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.06492, allocations: 1.34 MB / 412.2 MB, free: 1.961 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.06839, allocations: 4.143 MB / 416.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.968e-05/0.06841, allocations: 0 / 416.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06841, allocations: 0 / 416.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.577e-05/0.06845, allocations: 0 / 416.3 MB, free: 13.8 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.01485/0.0833, allocations: 10.48 MB / 426.8 MB, free: 3.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.08335, allocations: 15.98 kB / 426.8 MB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.09646, allocations: 5.13 MB / 431.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.09921, allocations: 1.795 MB / 433.7 MB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005009/0.09972, allocations: 0.9708 MB / 434.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/0.1003, allocations: 360 kB / 435.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.1033, allocations: 2.911 MB / 438 MB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.1033, allocations: 0 / 438 MB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.1036, allocations: 144 kB / 438.1 MB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.1036, allocations: 91.94 kB / 438.2 MB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.1055, allocations: 1.375 MB / 439.6 MB, free: 6.141 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.01307/0.1185, allocations: 9.529 MB / 449.1 MB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.1216, allocations: 2.136 MB / 451.2 MB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009394/0.1225, allocations: 0.8324 MB / 452.1 MB, free: 9.191 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.1228, allocations: 86.97 kB / 452.2 MB, free: 9.105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.1244, allocations: 1.671 MB / 453.8 MB, free: 7.387 MB / 442.7 MB Notification: Performance of pre-optimization done (n=394): time 5.691e-06/0.1244, allocations: 0 / 453.8 MB, free: 7.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=394): time 0.1168/0.2412, allocations: 53.91 MB / 0.4958 GB, free: 1.316 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.2412, allocations: 120.2 kB / 0.496 GB, free: 1.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1977/0.4389, allocations: 2.731 MB / 0.4986 GB, free: 118.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000848/0.4397, allocations: 91.61 kB / 0.4987 GB, free: 118.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.4407, allocations: 1.328 MB / 0.5 GB, free: 118.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.4419, allocations: 1.418 MB / 0.5014 GB, free: 118 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008826/0.4428, allocations: 0.6913 MB / 0.5021 GB, free: 117.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.349e-05/0.4428, allocations: 307.8 kB / 0.5024 GB, free: 117.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.4443, allocations: 0.96 MB / 0.5033 GB, free: 117.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.4462, allocations: 1.593 MB / 0.5049 GB, free: 116.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/0.4494, allocations: 3.008 MB / 0.5078 GB, free: 116.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.4495, allocations: 4.531 kB / 0.5078 GB, free: 116.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01858/0.468, allocations: 10.6 MB / 0.5181 GB, free: 115.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/0.4681, allocations: 69.56 kB / 0.5182 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.261e-05/0.4682, allocations: 14.16 kB / 0.5182 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01851/0.4867, allocations: 7.426 MB / 0.5255 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.4888, allocations: 0.7929 MB / 0.5263 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/0.5077, allocations: 11.97 MB / 0.5379 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.5106, allocations: 0.5408 MB / 0.5385 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.5108, allocations: 120.8 kB / 0.5386 GB, free: 101 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.0009102/0.5117, allocations: 360.4 kB / 0.5389 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.5122, allocations: 403.5 kB / 0.5393 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/0.5276, allocations: 9.992 MB / 0.5491 GB, free: 90.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.5276, allocations: 36 kB / 0.5491 GB, free: 90.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.5277, allocations: 28 kB / 0.5491 GB, free: 90.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/0.5277, allocations: 27.86 kB / 0.5492 GB, free: 90.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/0.5463, allocations: 11.87 MB / 0.5607 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.5464, allocations: 0 / 0.5607 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5475, allocations: 463.4 kB / 0.5612 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008107/0.5483, allocations: 454.9 kB / 0.5616 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/0.5643, allocations: 7.382 MB / 0.5688 GB, free: 70.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003859/0.5647, allocations: 78.36 kB / 0.5689 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.5828, allocations: 12.34 MB / 0.581 GB, free: 57.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5828, allocations: 4.797 kB / 0.581 GB, free: 57.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/0.6003, allocations: 10.85 MB / 0.5916 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007604/0.601, allocations: 68 kB / 0.5916 GB, free: 46.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.6028, allocations: 290 kB / 0.5919 GB, free: 46.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/0.6043, allocations: 0.7763 MB / 0.5927 GB, free: 45.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.6045, allocations: 67.98 kB / 0.5927 GB, free: 45.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009729/0.6055, allocations: 1.482 MB / 0.5942 GB, free: 43.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6055, allocations: 0 / 0.5942 GB, free: 43.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003173/0.6086, allocations: 1.826 MB / 0.596 GB, free: 42.08 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.0003501/0.609, allocations: 200.9 kB / 0.5961 GB, free: 41.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007537/0.6165, allocations: 5.351 MB / 0.6014 GB, free: 36.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.703e-05/0.6166, allocations: 57.81 kB / 0.6014 GB, free: 36.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005414/0.622, allocations: 3.971 MB / 0.6053 GB, free: 32.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6236, allocations: 0.7861 MB / 0.6061 GB, free: 31.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/0.6617, allocations: 7.579 MB / 0.6135 GB, free: 23.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.6623, allocations: 0.8101 MB / 0.6143 GB, free: 23.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001084/0.6634, allocations: 375.6 kB / 0.6146 GB, free: 22.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008107/0.6642, allocations: 0.4915 MB / 0.6151 GB, free: 22.25 MB / 490.7 MB Notification: Performance of SimCode: time 2.004e-06/0.6642, allocations: 0 / 0.6151 GB, free: 22.25 MB / 490.7 MB Notification: Performance of Templates: time 0.278/0.9422, allocations: 101.2 MB / 0.714 GB, free: 170.5 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.6644602827727795]