Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.000752/0.000752, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009814/0.001733, 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.8772/0.8772, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1862/1.063, 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.001098/0.001098, allocations: 157.1 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00182/0.002918, allocations: 481.5 kB / 243.2 MB, free: 1.426 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.4264/0.4264, allocations: 89.05 MB / 333 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05348/0.4799, allocations: 30.22 MB / 363.2 MB, free: 3.172 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 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 364.6 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.258e-05, allocations: 8.844 kB / 364.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007892/0.007915, allocations: 6.454 MB / 371 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00545/0.01336, allocations: 2.248 MB / 373.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009979/0.01436, allocations: 8 kB / 373.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007468/0.01511, allocations: 261.7 kB / 373.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.01735, allocations: 0.9112 MB / 374.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.0189, allocations: 0.6704 MB / 375.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.02095, allocations: 1.709 MB / 376.8 MB, free: 5.594 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004662/0.02142, allocations: 221 kB / 377 MB, free: 5.355 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.02317, allocations: 1.2 MB / 378.2 MB, free: 4.141 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.02426, allocations: 0.7243 MB / 379 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.02462, allocations: 139.9 kB / 379.1 MB, free: 3.277 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.02526, allocations: 295.8 kB / 379.4 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.02552, allocations: 247.1 kB / 379.6 MB, free: 2.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.02599, allocations: 367.1 kB / 380 MB, free: 2.387 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.02758, allocations: 1.167 MB / 381.2 MB, free: 1.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.825e-05/0.02759, allocations: 4 kB / 381.2 MB, free: 1.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02759, allocations: 0 / 381.2 MB, free: 1.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.944e-05/0.02764, allocations: 0 / 381.2 MB, free: 1.211 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.00701/0.03465, allocations: 3.072 MB / 384.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.0347, allocations: 16.02 kB / 384.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/0.03881, allocations: 0.9831 MB / 385.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.04021, allocations: 0.6174 MB / 385.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.04044, allocations: 277.9 kB / 386.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.0406, allocations: 84 kB / 386.2 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.04186, allocations: 0.7236 MB / 386.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.04188, allocations: 0 / 386.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.04196, allocations: 32 kB / 387 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.04199, allocations: 23.94 kB / 387 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.04286, allocations: 374.2 kB / 387.3 MB, free: 10.85 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.004716/0.04758, allocations: 1.945 MB / 389.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.0508, allocations: 1.196 MB / 390.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.05125, allocations: 262.3 kB / 390.7 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-05/0.05134, allocations: 24.98 kB / 390.8 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007375/0.05208, allocations: 0.5057 MB / 391.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.256e-06/0.05208, allocations: 4 kB / 391.3 MB, free: 6.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.01432/0.0664, allocations: 4.492 MB / 395.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.06646, allocations: 90.11 kB / 395.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.06773, allocations: 0.8856 MB / 396.7 MB, free: 1.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.06787, allocations: 45.7 kB / 396.8 MB, free: 1.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.06814, allocations: 375.5 kB / 397.2 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.06851, allocations: 420.6 kB / 397.6 MB, free: 436 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/0.06897, allocations: 299.3 kB / 397.9 MB, free: 132 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.06906, allocations: 305.1 kB / 398.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.06988, allocations: 406.1 kB / 398.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.07079, allocations: 0.5822 MB / 399.1 MB, free: 14.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.07249, allocations: 1.058 MB / 400.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.0725, allocations: 0 / 400.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.007477/0.07997, allocations: 2.837 MB / 403 MB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.08005, allocations: 63.39 kB / 403.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.08006, allocations: 4 kB / 403.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004233/0.08429, allocations: 1.626 MB / 404.7 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.08538, allocations: 387.2 kB / 405.1 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00516/0.09054, allocations: 3.579 MB / 408.7 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.09171, allocations: 167.1 kB / 408.8 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.09179, allocations: 47.97 kB / 408.9 MB, free: 4.816 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.0005012/0.09229, allocations: 228 kB / 409.1 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.09243, allocations: 115.9 kB / 409.2 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.09629, allocations: 2.295 MB / 411.5 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.0963, allocations: 12 kB / 411.5 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.09631, allocations: 8 kB / 411.5 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.09632, allocations: 7.969 kB / 411.5 MB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/0.1011, allocations: 3.003 MB / 414.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1011, allocations: 0 / 414.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.1014, allocations: 135.8 kB / 414.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.1016, allocations: 134.8 kB / 414.8 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003555/0.1051, allocations: 1.559 MB / 416.4 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.1052, allocations: 24 kB / 416.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004927/0.1101, allocations: 4.588 MB / 421 MB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1101, allocations: 4 kB / 421 MB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/0.1143, allocations: 2.662 MB / 423.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.1144, allocations: 24 kB / 423.7 MB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.1149, allocations: 79.92 kB / 423.7 MB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.1152, allocations: 200.6 kB / 423.9 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.1152, allocations: 20 kB / 424 MB, free: 5.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003361/0.1156, allocations: 467.8 kB / 424.4 MB, free: 4.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1156, allocations: 0 / 424.4 MB, free: 4.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009665/0.1165, allocations: 0.4918 MB / 424.9 MB, free: 4.434 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.0002286/0.1168, allocations: 132.2 kB / 425 MB, free: 4.297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.1191, allocations: 1.692 MB / 426.7 MB, free: 2.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.166e-05/0.1191, allocations: 16 kB / 426.7 MB, free: 2.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.1205, allocations: 1.14 MB / 427.9 MB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.121, allocations: 232.3 kB / 428.1 MB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00904/0.13, allocations: 2.159 MB / 430.3 MB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1303, allocations: 256.8 kB / 430.5 MB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000321/0.1306, allocations: 120.8 kB / 430.6 MB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.1309, allocations: 199.3 kB / 430.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 2.535e-06/0.1309, allocations: 0 / 430.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.02982/0.1607, allocations: 28.49 MB / 459.3 MB, free: 2.039 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.751813340932131]