Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001102/0.001102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002801, 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.8996/0.8996, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1751/1.075, allocations: 53.64 MB / 241.9 MB, free: 2.73 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.0007904/0.0007904, allocations: 155.5 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000955/0.001745, allocations: 482.5 kB / 243.2 MB, free: 1.418 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.4479/0.4479, allocations: 88.98 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07709/0.525, allocations: 30.2 MB / 363.2 MB, free: 3.199 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 364.6 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.205e-05, allocations: 2.312 kB / 364.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.0141/0.01412, allocations: 20.07 MB / 384.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.02576, allocations: 5.328 MB / 390 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.0281, allocations: 47.94 kB / 390 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.02946, allocations: 0.9216 MB / 391 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.03324, allocations: 2.407 MB / 393.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.0364, allocations: 2.059 MB / 395.4 MB, free: 2.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004273/0.04067, allocations: 5.85 MB / 401.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.04172, allocations: 0.908 MB / 402.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.04548, allocations: 4.025 MB / 406.2 MB, free: 7.871 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.0474, allocations: 2.305 MB / 408.5 MB, free: 5.559 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.04788, allocations: 436 kB / 408.9 MB, free: 5.133 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.04872, allocations: 0.6091 MB / 409.5 MB, free: 4.523 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005178/0.04924, allocations: 0.8169 MB / 410.4 MB, free: 3.703 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.05072, allocations: 1.333 MB / 411.7 MB, free: 2.367 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.0539, allocations: 4.104 MB / 415.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.05391, allocations: 4 kB / 415.8 MB, free: 14.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.05391, allocations: 0 / 415.8 MB, free: 14.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.685e-05/0.05398, allocations: 0 / 415.8 MB, free: 14.24 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.01451/0.06849, allocations: 10.4 MB / 426.2 MB, free: 3.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.06853, allocations: 15.98 kB / 426.2 MB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01838/0.08692, allocations: 5.126 MB / 431.3 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/0.0908, allocations: 1.795 MB / 433.1 MB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006236/0.09142, allocations: 0.9707 MB / 434.1 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.09194, allocations: 352 kB / 434.5 MB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/0.09602, allocations: 2.891 MB / 437.3 MB, free: 8.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.09607, allocations: 4 kB / 437.3 MB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/0.09635, allocations: 140 kB / 437.5 MB, free: 8.176 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.0964, allocations: 87.94 kB / 437.6 MB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.09899, allocations: 1.375 MB / 438.9 MB, free: 6.695 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.01814/0.1171, allocations: 9.497 MB / 448.4 MB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004312/0.1214, allocations: 2.14 MB / 450.6 MB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.1227, allocations: 0.8312 MB / 451.4 MB, free: 9.777 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.123, allocations: 79.02 kB / 451.5 MB, free: 9.699 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/0.1251, allocations: 1.67 MB / 453.2 MB, free: 7.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=392): time 7.454e-06/0.1251, allocations: 7.938 kB / 453.2 MB, free: 7.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=392): time 0.1265/0.2516, allocations: 53.57 MB / 0.4949 GB, free: 2.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.2517, allocations: 128.1 kB / 0.495 GB, free: 2.105 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2275/0.4792, allocations: 2.709 MB / 0.4976 GB, free: 116.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001289/0.4805, allocations: 91.08 kB / 0.4977 GB, free: 116.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.4824, allocations: 1.321 MB / 0.499 GB, free: 116.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/0.484, allocations: 1.405 MB / 0.5004 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.4851, allocations: 0.6879 MB / 0.501 GB, free: 116.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.4851, allocations: 306.7 kB / 0.5013 GB, free: 115.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.4869, allocations: 0.9504 MB / 0.5023 GB, free: 115.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.4887, allocations: 1.579 MB / 0.5038 GB, free: 115.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.4925, allocations: 2.981 MB / 0.5067 GB, free: 114.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/0.4925, allocations: 7.438 kB / 0.5067 GB, free: 114.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02308/0.5156, allocations: 10.52 MB / 0.517 GB, free: 114.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.5157, allocations: 66.39 kB / 0.5171 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.5157, allocations: 11.66 kB / 0.5171 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02209/0.5378, allocations: 7.355 MB / 0.5243 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/0.5405, allocations: 0.795 MB / 0.525 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.5645, allocations: 11.82 MB / 0.5366 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.5675, allocations: 0.5375 MB / 0.5371 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.5676, allocations: 120 kB / 0.5372 GB, free: 101.1 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.0009037/0.5685, allocations: 362.9 kB / 0.5376 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/0.569, allocations: 399.6 kB / 0.5379 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/0.5846, allocations: 9.976 MB / 0.5477 GB, free: 90.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.5846, allocations: 40 kB / 0.5477 GB, free: 90.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/0.5846, allocations: 35.94 kB / 0.5478 GB, free: 90.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.5847, allocations: 17.16 kB / 0.5478 GB, free: 90.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/0.604, allocations: 11.85 MB / 0.5593 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.604, allocations: 2.75 kB / 0.5594 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.6053, allocations: 463.4 kB / 0.5598 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.6063, allocations: 441.4 kB / 0.5602 GB, free: 77.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0162/0.6225, allocations: 7.424 MB / 0.5675 GB, free: 70.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003436/0.6228, allocations: 67.98 kB / 0.5675 GB, free: 70.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.641, allocations: 12.33 MB / 0.5796 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.641, allocations: 0 / 0.5796 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.6585, allocations: 10.83 MB / 0.5902 GB, free: 46.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006276/0.6591, allocations: 64 kB / 0.5902 GB, free: 46.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.6607, allocations: 295.7 kB / 0.5905 GB, free: 46.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/0.662, allocations: 0.7724 MB / 0.5912 GB, free: 45.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.6622, allocations: 67.98 kB / 0.5913 GB, free: 45.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001065/0.6633, allocations: 1.474 MB / 0.5928 GB, free: 44.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6633, allocations: 0 / 0.5928 GB, free: 44.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003313/0.6666, allocations: 1.804 MB / 0.5945 GB, free: 42.46 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.0003861/0.667, allocations: 201.1 kB / 0.5947 GB, free: 42.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007745/0.6747, allocations: 5.298 MB / 0.5999 GB, free: 36.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-05/0.6748, allocations: 57.81 kB / 0.5999 GB, free: 36.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005603/0.6804, allocations: 3.985 MB / 0.6038 GB, free: 32.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6819, allocations: 0.7872 MB / 0.6046 GB, free: 32.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/0.7204, allocations: 7.518 MB / 0.6119 GB, free: 24.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.721, allocations: 0.8019 MB / 0.6127 GB, free: 23.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001148/0.7221, allocations: 375.5 kB / 0.6131 GB, free: 23.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007776/0.7229, allocations: 499.3 kB / 0.6136 GB, free: 22.78 MB / 490.7 MB Notification: Performance of SimCode: time 2.083e-06/0.7229, allocations: 4 kB / 0.6136 GB, free: 22.77 MB / 490.7 MB Notification: Performance of Templates: time 0.2981/1.021, allocations: 100.4 MB / 0.7116 GB, free: 168.7 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.806927508674562]