Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.0009218/0.0009218, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.002024, 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.9116/0.9116, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1675/1.079, 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.0007733/0.0007733, allocations: 149.3 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001789, allocations: 481.1 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.4655/0.4655, allocations: 89.07 MB / 333 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05593/0.5214, allocations: 30.21 MB / 363.2 MB, free: 3.168 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 364.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.414e-05, allocations: 4.844 kB / 364.7 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01355/0.01357, allocations: 20.06 MB / 384.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.02622, allocations: 5.332 MB / 390.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004482/0.0307, allocations: 44 kB / 390.1 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.03345, allocations: 0.9139 MB / 391 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006979/0.04043, allocations: 2.42 MB / 393.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.04475, allocations: 2.055 MB / 395.5 MB, free: 2.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008325/0.05307, allocations: 5.854 MB / 401.4 MB, free: 12.94 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.05515, allocations: 0.908 MB / 402.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007717/0.06287, allocations: 4.014 MB / 406.3 MB, free: 7.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/0.06671, allocations: 2.309 MB / 408.6 MB, free: 5.539 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.06809, allocations: 440 kB / 409 MB, free: 5.109 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.06991, allocations: 0.6091 MB / 409.6 MB, free: 4.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000871/0.07078, allocations: 0.8091 MB / 410.4 MB, free: 3.688 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.07322, allocations: 1.336 MB / 411.8 MB, free: 2.348 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.0787, allocations: 4.112 MB / 415.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.035e-05/0.07872, allocations: 0 / 415.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.07873, allocations: 0 / 415.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001545/0.07888, allocations: 0 / 415.9 MB, free: 14.22 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: 899 * Number of variables: 899 Notification: Performance of Generate backend data structure: time 0.02135/0.1002, allocations: 10.4 MB / 426.3 MB, free: 3.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1003, allocations: 12.75 kB / 426.3 MB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.117, allocations: 5.134 MB / 431.4 MB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.1209, allocations: 1.795 MB / 433.2 MB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005508/0.1215, allocations: 0.9668 MB / 434.2 MB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004841/0.1219, allocations: 348 kB / 434.5 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/0.1253, allocations: 2.899 MB / 437.4 MB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.1254, allocations: 4 kB / 437.4 MB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.1256, allocations: 140 kB / 437.6 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.1257, allocations: 87.94 kB / 437.7 MB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.1278, allocations: 1.379 MB / 439 MB, free: 6.668 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.01575/0.1436, allocations: 9.49 MB / 448.5 MB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.1469, allocations: 2.14 MB / 450.7 MB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.1479, allocations: 0.8284 MB / 451.5 MB, free: 9.758 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.1482, allocations: 87 kB / 451.6 MB, free: 9.672 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/0.1499, allocations: 1.663 MB / 453.2 MB, free: 7.961 MB / 442.7 MB Notification: Performance of pre-optimization done (n=392): time 7.344e-06/0.1499, allocations: 0 / 453.2 MB, free: 7.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=392): time 0.1144/0.2643, allocations: 53.58 MB / 0.4949 GB, free: 2.227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.2644, allocations: 116.2 kB / 0.4951 GB, free: 2.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2013/0.4657, allocations: 2.712 MB / 0.4977 GB, free: 118.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008581/0.4666, allocations: 91.67 kB / 0.4978 GB, free: 118.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.4677, allocations: 1.324 MB / 0.4991 GB, free: 118.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.469, allocations: 1.404 MB / 0.5004 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009821/0.47, allocations: 0.688 MB / 0.5011 GB, free: 117.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.47, allocations: 306.7 kB / 0.5014 GB, free: 117.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.4717, allocations: 0.948 MB / 0.5023 GB, free: 117.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4735, allocations: 1.578 MB / 0.5039 GB, free: 116.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/0.4771, allocations: 2.986 MB / 0.5068 GB, free: 115.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.4772, allocations: 3.094 kB / 0.5068 GB, free: 115.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01861/0.4958, allocations: 10.52 MB / 0.5171 GB, free: 115.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.984e-05/0.4958, allocations: 72.94 kB / 0.5171 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/0.4959, allocations: 14.41 kB / 0.5172 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01742/0.5133, allocations: 7.351 MB / 0.5243 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.5156, allocations: 0.7904 MB / 0.5251 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/0.5363, allocations: 11.83 MB / 0.5367 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.5396, allocations: 0.5441 MB / 0.5372 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.5398, allocations: 112 kB / 0.5373 GB, free: 102.3 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 (405): * Single equations (assignments): 402 * 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,46,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.5408, allocations: 360.8 kB / 0.5376 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007616/0.5416, allocations: 395.6 kB / 0.538 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/0.5584, allocations: 9.983 MB / 0.5478 GB, free: 91.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.5585, allocations: 44 kB / 0.5478 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/0.5585, allocations: 31.94 kB / 0.5478 GB, free: 91.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.532e-05/0.5586, allocations: 15.94 kB / 0.5479 GB, free: 91.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/0.5788, allocations: 11.85 MB / 0.5594 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.5788, allocations: 0 / 0.5594 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.5802, allocations: 459.4 kB / 0.5599 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.5816, allocations: 441.8 kB / 0.5603 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01782/0.5994, allocations: 7.425 MB / 0.5675 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007161/0.6002, allocations: 74.28 kB / 0.5676 GB, free: 71.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.6198, allocations: 12.33 MB / 0.5797 GB, free: 58.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6198, allocations: 0 / 0.5797 GB, free: 58.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/0.6384, allocations: 10.83 MB / 0.5902 GB, free: 47.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007792/0.6391, allocations: 64 kB / 0.5903 GB, free: 47.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.641, allocations: 295.7 kB / 0.5906 GB, free: 47.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001572/0.6426, allocations: 0.7712 MB / 0.5913 GB, free: 46.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/0.6428, allocations: 67.98 kB / 0.5914 GB, free: 46.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001144/0.6439, allocations: 1.474 MB / 0.5928 GB, free: 45.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6439, allocations: 2.844 kB / 0.5928 GB, free: 45.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003669/0.6476, allocations: 1.811 MB / 0.5946 GB, free: 43.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (259): * Single equations (assignments): 254 * 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 {(100,36,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.000422/0.648, allocations: 194.2 kB / 0.5948 GB, free: 43.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008501/0.6565, allocations: 5.297 MB / 0.6 GB, free: 37.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.708e-05/0.6566, allocations: 58.19 kB / 0.6 GB, free: 37.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006467/0.6631, allocations: 3.988 MB / 0.6039 GB, free: 33.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.6654, allocations: 0.7943 MB / 0.6047 GB, free: 32.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03932/0.7047, allocations: 7.511 MB / 0.612 GB, free: 25.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.7055, allocations: 0.8019 MB / 0.6128 GB, free: 24.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001105/0.7066, allocations: 379.5 kB / 0.6132 GB, free: 24.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008983/0.7075, allocations: 495.3 kB / 0.6136 GB, free: 23.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/0.7075, allocations: 0 / 0.6136 GB, free: 23.66 MB / 490.7 MB Notification: Performance of Templates: time 0.2981/1.006, allocations: 100.4 MB / 0.7117 GB, free: 170.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.047512981109321]