Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0011/0.0011, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002579, 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.8616/0.8616, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1623/1.024, allocations: 53.65 MB / 242 MB, free: 2.621 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.0007902/0.0007902, allocations: 167.4 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001811, allocations: 480.2 kB / 243.4 MB, free: 1.281 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.4254/0.4254, allocations: 89.09 MB / 333.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04956/0.475, allocations: 30.22 MB / 363.5 MB, free: 3.098 MB / 346.7 MB " [Timeout remaining time 180] 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 364.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.696e-06/1.029e-05, allocations: 6.25 kB / 364.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004782/0.004793, allocations: 6.451 MB / 371.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.007767, allocations: 2.24 MB / 373.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.008129, allocations: 15.94 kB / 373.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.008569, allocations: 261.8 kB / 373.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.009866, allocations: 0.9183 MB / 374.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.01068, allocations: 0.6626 MB / 375.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01197, allocations: 1.713 MB / 377.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.01227, allocations: 228.9 kB / 377.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.01343, allocations: 1.193 MB / 378.5 MB, free: 4.074 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000729/0.01416, allocations: 0.7282 MB / 379.2 MB, free: 3.344 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.01439, allocations: 136 kB / 379.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.01478, allocations: 299.8 kB / 379.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.01495, allocations: 243.1 kB / 379.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.01524, allocations: 367.1 kB / 380.2 MB, free: 2.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009006/0.01614, allocations: 1.167 MB / 381.4 MB, free: 1.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.01615, allocations: 0 / 381.4 MB, free: 1.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01615, allocations: 0 / 381.4 MB, free: 1.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.01617, allocations: 0 / 381.4 MB, free: 1.148 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004272/0.02044, allocations: 3.084 MB / 384.5 MB, free: 14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.02047, allocations: 8.031 kB / 384.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.02305, allocations: 0.9831 MB / 385.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.02381, allocations: 0.6096 MB / 386.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.02396, allocations: 277.9 kB / 386.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.02407, allocations: 88 kB / 386.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007359/0.02481, allocations: 0.7236 MB / 387.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.02482, allocations: 0 / 387.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.02488, allocations: 35.94 kB / 387.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.02489, allocations: 27.88 kB / 387.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.02537, allocations: 374.3 kB / 387.6 MB, free: 10.78 MB / 378.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.002742/0.02812, allocations: 1.937 MB / 389.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.03023, allocations: 1.195 MB / 390.7 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.03052, allocations: 261 kB / 391 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.759e-05/0.03059, allocations: 21 kB / 391 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.03107, allocations: 0.5169 MB / 391.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.134e-06/0.03107, allocations: 0 / 391.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.009107/0.04018, allocations: 4.484 MB / 396 MB, free: 2.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.04022, allocations: 94.14 kB / 396.1 MB, free: 2.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.04079, allocations: 0.8895 MB / 397 MB, free: 1.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.04086, allocations: 49.7 kB / 397 MB, free: 1.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.04103, allocations: 379.5 kB / 397.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.04126, allocations: 400.6 kB / 397.8 MB, free: 388 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.04157, allocations: 311.3 kB / 398.1 MB, free: 72 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.04164, allocations: 301.1 kB / 398.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.04217, allocations: 418.1 kB / 398.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.04277, allocations: 0.5706 MB / 399.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.04401, allocations: 1.118 MB / 400.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.04402, allocations: 4 kB / 400.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004956/0.04897, allocations: 2.833 MB / 403.3 MB, free: 10.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.04902, allocations: 55.41 kB / 403.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.04903, allocations: 4 kB / 403.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/0.05305, allocations: 1.662 MB / 405 MB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.05385, allocations: 378.3 kB / 405.4 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005667/0.05952, allocations: 3.723 MB / 409.1 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/0.06019, allocations: 183.1 kB / 409.3 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.06026, allocations: 39.98 kB / 409.4 MB, free: 4.543 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (179): * Single equations (assignments): 176 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.0605, allocations: 224 kB / 409.6 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.06065, allocations: 115.9 kB / 409.7 MB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.0645, allocations: 2.295 MB / 412 MB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.06451, allocations: 8 kB / 412 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.06452, allocations: 8 kB / 412 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.06453, allocations: 7.984 kB / 412 MB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/0.06944, allocations: 3.007 MB / 415 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.06945, allocations: 4.031 kB / 415 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.06979, allocations: 131.8 kB / 415.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.06993, allocations: 134.8 kB / 415.3 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003615/0.07354, allocations: 1.586 MB / 416.9 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.07361, allocations: 27.98 kB / 416.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005825/0.07944, allocations: 4.736 MB / 421.6 MB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.07944, allocations: 0 / 421.6 MB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004317/0.08376, allocations: 2.666 MB / 424.3 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.08387, allocations: 23.98 kB / 424.3 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.08431, allocations: 87.92 kB / 424.4 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/0.08464, allocations: 192.6 kB / 424.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.08469, allocations: 23.98 kB / 424.6 MB, free: 4.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000349/0.08504, allocations: 459.9 kB / 425.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08504, allocations: 0 / 425.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000865/0.08591, allocations: 0.4995 MB / 425.6 MB, free: 3.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (79): * Single equations (assignments): 74 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002305/0.08614, allocations: 134.4 kB / 425.7 MB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.08842, allocations: 1.706 MB / 427.4 MB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.48e-05/0.08844, allocations: 16 kB / 427.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.09022, allocations: 1.181 MB / 428.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.09089, allocations: 0.5774 MB / 429.2 MB, free: 192 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.1012, allocations: 2.145 MB / 431.3 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1014, allocations: 260.8 kB / 431.6 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.1017, allocations: 124.9 kB / 431.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.1022, allocations: 211.3 kB / 431.9 MB, free: 13.39 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1022, allocations: 0 / 431.9 MB, free: 13.39 MB / 426.7 MB Notification: Performance of Templates: time 0.03792/0.1401, allocations: 29.26 MB / 461.2 MB, free: 364 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5597215658053756]