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.001301/0.001301, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.9534/0.9534, allocations: 177.1 MB / 200.5 MB, free: 5.844 MB / 186.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.001224/0.001224, allocations: 160.6 kB / 257 MB, free: 13.21 MB / 250.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.2777/0.2777, allocations: 80.37 MB / 393.8 MB, free: 2.184 MB / 314.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.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 2.415e-06/2.415e-06, allocations: 0 / 490 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.697e-05/3.938e-05, allocations: 6.031 kB / 490 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008571/0.00861, allocations: 6.415 MB / 496.4 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.01392, allocations: 2.014 MB / 498.4 MB, free: 3.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.01508, allocations: 11.94 kB / 498.4 MB, free: 3.238 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009028/0.01598, allocations: 249.8 kB / 498.6 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.01875, allocations: 0.8825 MB / 499.5 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.0203, allocations: 0.6536 MB / 0.4885 GB, free: 1.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.02295, allocations: 1.675 MB / 0.4901 GB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.02351, allocations: 211 kB / 0.4903 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.02539, allocations: 0.955 MB / 0.4912 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.02666, allocations: 0.7143 MB / 0.4919 GB, free: 13.9 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000443/0.02711, allocations: 132 kB / 0.4921 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007487/0.02785, allocations: 279.8 kB / 0.4923 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.02821, allocations: 354.5 kB / 0.4927 GB, free: 13.15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.02899, allocations: 484.1 kB / 0.4931 GB, free: 12.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.03117, allocations: 1.276 MB / 0.4944 GB, free: 11.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.03117, allocations: 0 / 0.4944 GB, free: 11.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03117, allocations: 3.938 kB / 0.4944 GB, free: 11.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.016e-05/0.03122, allocations: 1.781 kB / 0.4944 GB, free: 11.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008406/0.03963, allocations: 3.006 MB / 0.4973 GB, free: 8.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.03968, allocations: 8.031 kB / 0.4973 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.04468, allocations: 0.9399 MB / 0.4982 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.04654, allocations: 0.8423 MB / 0.4991 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.04683, allocations: 329.3 kB / 0.4994 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.04703, allocations: 87.95 kB / 0.4995 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.04903, allocations: 0.7657 MB / 0.5002 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.04904, allocations: 0 / 0.5002 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.04912, allocations: 32 kB / 0.5002 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.04914, allocations: 19.94 kB / 0.5003 GB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.05006, allocations: 0.4973 MB / 0.5007 GB, free: 4.723 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.003936/0.054, allocations: 2.749 MB / 0.5034 GB, free: 1.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.05679, allocations: 1.265 MB / 0.5047 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.05728, allocations: 343.9 kB / 0.505 GB, free: 256 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-05/0.05736, allocations: 20.98 kB / 0.505 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006873/0.05805, allocations: 0.5377 MB / 0.5055 GB, free: 15.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.135e-06/0.05805, allocations: 0 / 0.5055 GB, free: 15.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01189/0.06993, allocations: 4.978 MB / 0.5104 GB, free: 10.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.06998, allocations: 111.8 kB / 0.5105 GB, free: 10.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.07084, allocations: 1.02 MB / 0.5115 GB, free: 9.477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.349e-05/0.07091, allocations: 53.64 kB / 0.5115 GB, free: 9.418 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.07122, allocations: 0.551 MB / 0.5121 GB, free: 8.859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.07146, allocations: 392.8 kB / 0.5125 GB, free: 8.473 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.0718, allocations: 305.1 kB / 0.5127 GB, free: 8.168 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.0719, allocations: 480.7 kB / 0.5132 GB, free: 7.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/0.07252, allocations: 451.2 kB / 0.5136 GB, free: 7.242 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.07325, allocations: 0.6533 MB / 0.5143 GB, free: 6.523 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.07523, allocations: 1.676 MB / 0.5159 GB, free: 4.762 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.07523, allocations: 0 / 0.5159 GB, free: 4.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005793/0.08103, allocations: 3.165 MB / 0.519 GB, free: 1.555 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.08107, allocations: 59.41 kB / 0.5191 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.08108, allocations: 4 kB / 0.5191 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004731/0.08582, allocations: 1.68 MB / 0.5207 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.08665, allocations: 291.5 kB / 0.521 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007151/0.0938, allocations: 4.551 MB / 0.5254 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.09459, allocations: 175.1 kB / 0.5256 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.09467, allocations: 59.97 kB / 0.5256 GB, free: 10.6 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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.000383/0.09505, allocations: 270.9 kB / 0.5259 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.09525, allocations: 167.1 kB / 0.5261 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/0.1004, allocations: 2.612 MB / 0.5286 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1004, allocations: 8 kB / 0.5286 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.1005, allocations: 12 kB / 0.5286 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1005, allocations: 3.984 kB / 0.5286 GB, free: 7.484 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006036/0.1065, allocations: 3.691 MB / 0.5322 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1065, allocations: 0 / 0.5322 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.1068, allocations: 107.9 kB / 0.5323 GB, free: 3.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004218/0.111, allocations: 1.632 MB / 0.5339 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.1111, allocations: 19.98 kB / 0.534 GB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007831/0.1189, allocations: 6.393 MB / 0.5402 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1189, allocations: 0 / 0.5402 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005663/0.1246, allocations: 3.07 MB / 0.5432 GB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.1248, allocations: 150.9 kB / 0.5433 GB, free: 8.039 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.1249, allocations: 19.98 kB / 0.5434 GB, free: 8.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.1254, allocations: 91.98 kB / 0.5435 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.1258, allocations: 188.6 kB / 0.5436 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.1258, allocations: 24 kB / 0.5437 GB, free: 7.723 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005787/0.1264, allocations: 0.6494 MB / 0.5443 GB, free: 7.066 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1264, allocations: 0 / 0.5443 GB, free: 7.066 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001025/0.1275, allocations: 495.6 kB / 0.5448 GB, free: 6.582 MB / 474.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.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002593/0.1277, allocations: 144.9 kB / 0.5449 GB, free: 6.434 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.1306, allocations: 1.871 MB / 0.5467 GB, free: 4.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1306, allocations: 0.75 kB / 0.5467 GB, free: 4.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.1323, allocations: 1.319 MB / 0.548 GB, free: 3.113 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.1329, allocations: 135.3 kB / 0.5481 GB, free: 2.988 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.1359, allocations: 2.193 MB / 0.5503 GB, free: 0.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.1361, allocations: 257.5 kB / 0.5505 GB, free: 484 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000257/0.1363, allocations: 116.1 kB / 0.5506 GB, free: 364 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.1365, allocations: 80.47 kB / 0.5507 GB, free: 284 kB / 474.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1365, allocations: 0 / 0.5507 GB, free: 284 kB / 474.7 MB Notification: Performance of Templates: time 0.03125/0.1678, allocations: 28.04 MB / 0.5781 GB, free: 4.352 MB / 0.4948 GB " [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: 4.242143508978188]