Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001104/0.001104, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002464, 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.9478/0.9478, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1852/1.133, allocations: 53.64 MB / 241.9 MB, free: 2.742 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.0008926/0.0008926, allocations: 151.6 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002077, allocations: 479.4 kB / 243.2 MB, free: 1.426 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.4674/0.4674, allocations: 88.98 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07023/0.5376, allocations: 30.2 MB / 363.1 MB, free: 3.219 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 364.6 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.509e-05, allocations: 2.312 kB / 364.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01379/0.01381, allocations: 20.29 MB / 384.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02527, allocations: 5.386 MB / 390.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.02798, allocations: 47.94 kB / 390.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.02934, allocations: 0.9216 MB / 391.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.03345, allocations: 2.445 MB / 393.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.03656, allocations: 2.071 MB / 395.7 MB, free: 2.531 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004757/0.04132, allocations: 5.948 MB / 401.7 MB, free: 12.56 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.04233, allocations: 0.9081 MB / 402.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.04637, allocations: 4.072 MB / 406.7 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.04818, allocations: 2.352 MB / 409 MB, free: 5.059 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005083/0.04869, allocations: 448 kB / 409.5 MB, free: 4.621 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008904/0.04958, allocations: 0.6208 MB / 410.1 MB, free: 4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005366/0.05012, allocations: 0.8286 MB / 410.9 MB, free: 3.168 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.05138, allocations: 1.348 MB / 412.3 MB, free: 1.816 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.05472, allocations: 4.158 MB / 416.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.538e-05/0.05473, allocations: 0 / 416.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.05473, allocations: 0 / 416.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.063e-05/0.05483, allocations: 0 / 416.4 MB, free: 13.64 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: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.0142/0.06902, allocations: 10.5 MB / 426.9 MB, free: 3.043 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.06906, allocations: 12.03 kB / 426.9 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/0.08192, allocations: 5.134 MB / 432.1 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.08497, allocations: 1.796 MB / 433.9 MB, free: 12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004831/0.08546, allocations: 0.9785 MB / 434.8 MB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/0.08588, allocations: 359.9 kB / 435.2 MB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.08906, allocations: 2.907 MB / 438.1 MB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.0891, allocations: 0 / 438.1 MB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.08933, allocations: 140 kB / 438.2 MB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.08937, allocations: 87.94 kB / 438.3 MB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.09139, allocations: 1.383 MB / 439.7 MB, free: 5.953 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.01284/0.1042, allocations: 9.525 MB / 449.2 MB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/0.1073, allocations: 2.163 MB / 451.4 MB, free: 9.828 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009507/0.1082, allocations: 0.8351 MB / 452.2 MB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.1085, allocations: 87.03 kB / 452.3 MB, free: 8.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.1101, allocations: 1.675 MB / 454 MB, free: 7.172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=395): time 5.921e-06/0.1101, allocations: 0 / 454 MB, free: 7.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=395): time 0.118/0.2282, allocations: 53.9 MB / 0.496 GB, free: 1.109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.2282, allocations: 120.2 kB / 0.4961 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2384/0.4666, allocations: 2.745 MB / 0.4988 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008183/0.4674, allocations: 91.14 kB / 0.4989 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008941/0.4683, allocations: 1.327 MB / 0.5002 GB, free: 118.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.4695, allocations: 1.426 MB / 0.5016 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000925/0.4704, allocations: 0.6993 MB / 0.5022 GB, free: 118.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.272e-05/0.4705, allocations: 304.7 kB / 0.5025 GB, free: 117.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.472, allocations: 0.9697 MB / 0.5035 GB, free: 117.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.4739, allocations: 1.596 MB / 0.505 GB, free: 117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.4771, allocations: 3.02 MB / 0.508 GB, free: 116.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.4772, allocations: 3.844 kB / 0.508 GB, free: 116.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01826/0.4954, allocations: 10.61 MB / 0.5183 GB, free: 116 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.4955, allocations: 67.22 kB / 0.5184 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.4955, allocations: 11.69 kB / 0.5184 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01703/0.5126, allocations: 7.409 MB / 0.5257 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.5147, allocations: 0.8099 MB / 0.5264 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/0.5342, allocations: 11.88 MB / 0.538 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/0.5373, allocations: 0.5424 MB / 0.5386 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.5375, allocations: 119.9 kB / 0.5387 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 (416): * Single equations (assignments): 413 * 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,47,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009612/0.5385, allocations: 367.5 kB / 0.539 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/0.539, allocations: 395.6 kB / 0.5394 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/0.5546, allocations: 10.01 MB / 0.5492 GB, free: 90.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.5546, allocations: 38.58 kB / 0.5492 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/0.5546, allocations: 31.73 kB / 0.5493 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.165e-05/0.5547, allocations: 19.92 kB / 0.5493 GB, free: 90.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/0.574, allocations: 11.89 MB / 0.5609 GB, free: 78.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.574, allocations: 0 / 0.5609 GB, free: 78.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.5752, allocations: 463.4 kB / 0.5613 GB, free: 78.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.5761, allocations: 448 kB / 0.5618 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/0.5921, allocations: 7.386 MB / 0.569 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003588/0.5925, allocations: 71.98 kB / 0.569 GB, free: 70.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/0.6103, allocations: 12.34 MB / 0.5811 GB, free: 57.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6103, allocations: 0 / 0.5811 GB, free: 57.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.6275, allocations: 10.86 MB / 0.5917 GB, free: 46.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006586/0.6282, allocations: 64 kB / 0.5918 GB, free: 46.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.6299, allocations: 291.7 kB / 0.592 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/0.6313, allocations: 0.783 MB / 0.5928 GB, free: 45.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.6314, allocations: 71.38 kB / 0.5929 GB, free: 45.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009415/0.6324, allocations: 1.49 MB / 0.5943 GB, free: 43.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.6324, allocations: 0 / 0.5943 GB, free: 43.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002935/0.6353, allocations: 1.83 MB / 0.5961 GB, free: 42.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (262): * Single equations (assignments): 257 * 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.0003462/0.6357, allocations: 197 kB / 0.5963 GB, free: 41.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007615/0.6433, allocations: 5.342 MB / 0.6015 GB, free: 36.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.485e-05/0.6433, allocations: 57.8 kB / 0.6016 GB, free: 36.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005506/0.6488, allocations: 4 MB / 0.6055 GB, free: 32.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.6504, allocations: 0.7859 MB / 0.6062 GB, free: 31.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0383/0.6887, allocations: 7.62 MB / 0.6137 GB, free: 23.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.6893, allocations: 0.8065 MB / 0.6145 GB, free: 23.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001083/0.6903, allocations: 371.7 kB / 0.6148 GB, free: 22.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007821/0.6911, allocations: 0.4954 MB / 0.6153 GB, free: 22.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6911, allocations: 0 / 0.6153 GB, free: 22.23 MB / 490.7 MB Notification: Performance of Templates: time 0.281/0.9722, allocations: 101.6 MB / 0.7145 GB, free: 170.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.961471643298864]