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.0009835/0.0009835, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002254, 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.8447/0.8447, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1729/1.018, allocations: 53.65 MB / 242 MB, free: 2.625 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.0008024/0.0008024, allocations: 147.1 kB / 242.9 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001944, allocations: 495.3 kB / 243.4 MB, free: 1.289 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.4531/0.4531, allocations: 89.1 MB / 333.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08138/0.5345, allocations: 30.22 MB / 363.5 MB, free: 3.109 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 2.074e-06/2.074e-06, allocations: 0 / 364.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.618e-05, allocations: 6.312 kB / 364.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.0202/0.02023, allocations: 20.07 MB / 385 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.03672, allocations: 5.332 MB / 390.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006726/0.04345, allocations: 47.94 kB / 390.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.04801, allocations: 0.9177 MB / 391.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.05977, allocations: 2.414 MB / 393.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00668/0.06645, allocations: 2.059 MB / 395.8 MB, free: 2.758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.07808, allocations: 5.854 MB / 401.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.08066, allocations: 0.9041 MB / 402.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.0909, allocations: 4.018 MB / 406.5 MB, free: 7.797 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.09456, allocations: 2.305 MB / 408.8 MB, free: 5.484 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.09618, allocations: 443.9 kB / 409.3 MB, free: 5.051 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.09762, allocations: 0.6091 MB / 409.9 MB, free: 4.441 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006303/0.09825, allocations: 0.8131 MB / 410.7 MB, free: 3.625 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.09978, allocations: 1.336 MB / 412 MB, free: 2.285 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.1038, allocations: 4.1 MB / 416.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.1038, allocations: 0 / 416.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1038, allocations: 0 / 416.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000168/0.104, allocations: 0 / 416.1 MB, free: 14.17 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.01498/0.119, allocations: 10.39 MB / 426.5 MB, free: 3.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.119, allocations: 8.031 kB / 426.5 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.1336, allocations: 5.134 MB / 431.7 MB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.1364, allocations: 1.787 MB / 433.5 MB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.1369, allocations: 0.9629 MB / 434.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003836/0.1373, allocations: 352 kB / 434.8 MB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.1406, allocations: 2.895 MB / 437.7 MB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.1406, allocations: 0 / 437.7 MB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.1409, allocations: 140 kB / 437.8 MB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/0.1409, allocations: 91.94 kB / 437.9 MB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.1432, allocations: 1.379 MB / 439.3 MB, free: 6.637 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.0188/0.162, allocations: 9.497 MB / 448.8 MB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.1654, allocations: 2.14 MB / 450.9 MB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.1665, allocations: 0.839 MB / 451.7 MB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/0.1669, allocations: 87 kB / 451.8 MB, free: 9.629 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.1687, allocations: 1.659 MB / 453.5 MB, free: 7.922 MB / 442.7 MB Notification: Performance of pre-optimization done (n=392): time 6.833e-06/0.1687, allocations: 0 / 453.5 MB, free: 7.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=392): time 0.1181/0.2867, allocations: 53.57 MB / 0.4952 GB, free: 2.195 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.2868, allocations: 120.1 kB / 0.4953 GB, free: 2.059 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1939/0.4807, allocations: 2.717 MB / 0.4979 GB, free: 119 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008658/0.4815, allocations: 93.55 kB / 0.498 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.4827, allocations: 1.323 MB / 0.4993 GB, free: 118.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001566/0.4843, allocations: 1.4 MB / 0.5007 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.4855, allocations: 0.6856 MB / 0.5014 GB, free: 118.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.4855, allocations: 310.4 kB / 0.5017 GB, free: 117.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.4873, allocations: 0.9479 MB / 0.5026 GB, free: 117.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.4891, allocations: 1.579 MB / 0.5041 GB, free: 117.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.4929, allocations: 3.073 MB / 0.5071 GB, free: 116.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/0.4929, allocations: 4.156 kB / 0.5071 GB, free: 116.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01919/0.5121, allocations: 10.52 MB / 0.5174 GB, free: 116 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.685e-05/0.5122, allocations: 63.12 kB / 0.5175 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.5122, allocations: 19.47 kB / 0.5175 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01798/0.5302, allocations: 7.506 MB / 0.5248 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.5324, allocations: 0.7823 MB / 0.5256 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/0.5553, allocations: 12.41 MB / 0.5377 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/0.5587, allocations: 0.5441 MB / 0.5382 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/0.559, allocations: 117 kB / 0.5383 GB, free: 101.6 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.001081/0.5601, allocations: 355.4 kB / 0.5387 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007732/0.5609, allocations: 403.6 kB / 0.5391 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/0.5774, allocations: 9.972 MB / 0.5488 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.5775, allocations: 40 kB / 0.5488 GB, free: 90.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/0.5775, allocations: 34.69 kB / 0.5489 GB, free: 90.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.319e-05/0.5776, allocations: 19.92 kB / 0.5489 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/0.5987, allocations: 11.86 MB / 0.5605 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.5987, allocations: 0 / 0.5605 GB, free: 79.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.6001, allocations: 463.4 kB / 0.5609 GB, free: 78.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6012, allocations: 440 kB / 0.5613 GB, free: 78.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01767/0.6189, allocations: 7.566 MB / 0.5687 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007781/0.6197, allocations: 71.97 kB / 0.5688 GB, free: 70.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/0.6408, allocations: 12.92 MB / 0.5814 GB, free: 57.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6408, allocations: 2.25 kB / 0.5814 GB, free: 57.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/0.6593, allocations: 10.87 MB / 0.592 GB, free: 46.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008114/0.6601, allocations: 68 kB / 0.5921 GB, free: 46.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/0.6624, allocations: 291.7 kB / 0.5924 GB, free: 46.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/0.664, allocations: 0.7724 MB / 0.5931 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.6641, allocations: 67.98 kB / 0.5932 GB, free: 45.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.6653, allocations: 1.47 MB / 0.5946 GB, free: 43.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6653, allocations: 0.875 kB / 0.5946 GB, free: 43.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004104/0.6694, allocations: 1.811 MB / 0.5964 GB, free: 41.95 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.0004842/0.6698, allocations: 196.1 kB / 0.5966 GB, free: 41.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008426/0.6783, allocations: 5.341 MB / 0.6018 GB, free: 36.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.802e-05/0.6784, allocations: 57.81 kB / 0.6018 GB, free: 36.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00763/0.686, allocations: 4.17 MB / 0.6059 GB, free: 32.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/0.6905, allocations: 1.449 MB / 0.6073 GB, free: 30.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04101/0.7315, allocations: 7.526 MB / 0.6147 GB, free: 23.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.7321, allocations: 0.8061 MB / 0.6155 GB, free: 22.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.7332, allocations: 384.1 kB / 0.6158 GB, free: 21.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/0.734, allocations: 0.5149 MB / 0.6163 GB, free: 21.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.913e-06/0.734, allocations: 0 / 0.6163 GB, free: 21.29 MB / 490.7 MB Notification: Performance of Templates: time 0.2602/0.9942, allocations: 103.2 MB / 0.7171 GB, free: 171.3 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.63394695147872]