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.0009499/0.0009499, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.8754/0.8754, allocations: 177.2 MB / 201 MB, free: 5.715 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.001156/0.001156, allocations: 164.6 kB / 257.7 MB, free: 12.99 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.2859/0.2859, allocations: 83.27 MB / 397.5 MB, free: 88 kB / 362.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.152e-06/1.152e-06, allocations: 0 / 495.1 MB, free: 58.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.32e-05, allocations: 2.312 kB / 495.1 MB, free: 58.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.003819/0.003832, allocations: 6.29 MB / 0.4897 GB, free: 52.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.005946, allocations: 2.012 MB / 0.4916 GB, free: 50.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.006242, allocations: 15.94 kB / 0.4916 GB, free: 50.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.006696, allocations: 242.9 kB / 0.4919 GB, free: 50.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.007717, allocations: 0.8867 MB / 0.4927 GB, free: 49.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.008339, allocations: 0.6516 MB / 0.4934 GB, free: 48.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007496/0.009089, allocations: 1.678 MB / 0.495 GB, free: 46.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.009321, allocations: 218.9 kB / 0.4952 GB, free: 46.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.009906, allocations: 0.9507 MB / 0.4961 GB, free: 45.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004585/0.01036, allocations: 0.7215 MB / 0.4969 GB, free: 44.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.01048, allocations: 132 kB / 0.497 GB, free: 44.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.01074, allocations: 279.8 kB / 0.4972 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.01089, allocations: 361 kB / 0.4976 GB, free: 44.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.01111, allocations: 486.4 kB / 0.4981 GB, free: 43.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.01184, allocations: 1.268 MB / 0.4993 GB, free: 42.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01184, allocations: 0 / 0.4993 GB, free: 42.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01184, allocations: 0 / 0.4993 GB, free: 42.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.01185, allocations: 4 kB / 0.4993 GB, free: 42.47 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004095/0.01595, allocations: 3.034 MB / 0.5023 GB, free: 39.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.01597, allocations: 12.03 kB / 0.5023 GB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.0184, allocations: 0.9299 MB / 0.5032 GB, free: 38.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.01911, allocations: 0.7982 MB / 0.504 GB, free: 37.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.01923, allocations: 337.2 kB / 0.5043 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.01933, allocations: 87.95 kB / 0.5044 GB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.01998, allocations: 0.6881 MB / 0.505 GB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01999, allocations: 0.7188 kB / 0.505 GB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.02005, allocations: 28 kB / 0.5051 GB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.02006, allocations: 24.56 kB / 0.5051 GB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.02052, allocations: 407.3 kB / 0.5055 GB, free: 36 MB / 410.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.002783/0.0233, allocations: 2.616 MB / 0.508 GB, free: 33.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.0255, allocations: 1.2 MB / 0.5092 GB, free: 32.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.02577, allocations: 297.2 kB / 0.5095 GB, free: 31.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-05/0.02584, allocations: 17 kB / 0.5095 GB, free: 31.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.02624, allocations: 0.4889 MB / 0.51 GB, free: 31.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 2.255e-06/0.02624, allocations: 0 / 0.51 GB, free: 31.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=98): time 0.01002/0.03626, allocations: 4.797 MB / 0.5147 GB, free: 26.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.03628, allocations: 115.8 kB / 0.5148 GB, free: 26.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.03677, allocations: 0.973 MB / 0.5157 GB, free: 25.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.03683, allocations: 45.7 kB / 0.5158 GB, free: 25.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.03702, allocations: 0.578 MB / 0.5163 GB, free: 24.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.03718, allocations: 376.8 kB / 0.5167 GB, free: 24.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.03746, allocations: 321 kB / 0.517 GB, free: 24.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.884e-05/0.03749, allocations: 476.8 kB / 0.5175 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.03792, allocations: 415.2 kB / 0.5178 GB, free: 23.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.03842, allocations: 0.6259 MB / 0.5185 GB, free: 22.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.03983, allocations: 1.598 MB / 0.52 GB, free: 20.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.03983, allocations: 0 / 0.52 GB, free: 20.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004841/0.04468, allocations: 3.067 MB / 0.523 GB, free: 17.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.0447, allocations: 63.39 kB / 0.5231 GB, free: 17.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.04471, allocations: 4 kB / 0.5231 GB, free: 17.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/0.0488, allocations: 1.661 MB / 0.5247 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.04947, allocations: 287.6 kB / 0.525 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.05508, allocations: 4.379 MB / 0.5293 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.05585, allocations: 171.1 kB / 0.5294 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.05592, allocations: 43.97 kB / 0.5295 GB, free: 10.92 MB / 410.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.0003319/0.05625, allocations: 274.5 kB / 0.5297 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.05642, allocations: 175 kB / 0.5299 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.06073, allocations: 2.463 MB / 0.5323 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.06074, allocations: 15.94 kB / 0.5323 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.06074, allocations: 7.938 kB / 0.5323 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.06075, allocations: 7.969 kB / 0.5323 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00494/0.06569, allocations: 3.424 MB / 0.5357 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.0657, allocations: 0 / 0.5357 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.066, allocations: 107.8 kB / 0.5358 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003749/0.06975, allocations: 1.624 MB / 0.5374 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.06982, allocations: 27.98 kB / 0.5374 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006042/0.07586, allocations: 6.199 MB / 0.5434 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.07586, allocations: 4 kB / 0.5434 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.08126, allocations: 2.874 MB / 0.5462 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.08152, allocations: 150.9 kB / 0.5464 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.08164, allocations: 24.06 kB / 0.5464 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.08214, allocations: 87.86 kB / 0.5465 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/0.08248, allocations: 188.6 kB / 0.5467 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.08253, allocations: 20 kB / 0.5467 GB, free: 8.859 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004129/0.08294, allocations: 0.5906 MB / 0.5473 GB, free: 8.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08294, allocations: 0 / 0.5473 GB, free: 8.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009591/0.0839, allocations: 495.6 kB / 0.5477 GB, free: 7.777 MB / 426.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.0002248/0.08413, allocations: 147 kB / 0.5479 GB, free: 7.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.08667, allocations: 1.774 MB / 0.5496 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.08667, allocations: 0 / 0.5496 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.08826, allocations: 1.28 MB / 0.5509 GB, free: 4.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.08877, allocations: 127.6 kB / 0.551 GB, free: 4.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.0917, allocations: 2.176 MB / 0.5531 GB, free: 2.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.09187, allocations: 245.6 kB / 0.5533 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000284/0.09215, allocations: 112.1 kB / 0.5535 GB, free: 1.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.09247, allocations: 214.1 kB / 0.5537 GB, free: 1.504 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.09247, allocations: 0 / 0.5537 GB, free: 1.504 MB / 426.7 MB Notification: Performance of Templates: time 0.029/0.1215, allocations: 29.96 MB / 0.5829 GB, free: 3.656 MB / 458.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.707624959759414]