Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.8875/0.8875, allocations: 177.2 MB / 200 MB, free: 5.492 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.001178/0.001178, allocations: 156.7 kB / 256.6 MB, free: 12.97 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.3068/0.3068, allocations: 83.28 MB / 396.4 MB, free: 15.2 MB / 330.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 493.9 MB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.116e-05, allocations: 6.141 kB / 493.9 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007808/0.00784, allocations: 6.254 MB / 0.4884 GB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.01238, allocations: 1.968 MB / 0.4903 GB, free: 15.13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.01325, allocations: 11.94 kB / 0.4904 GB, free: 15.12 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.01391, allocations: 237.9 kB / 0.4906 GB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.01559, allocations: 0.867 MB / 0.4914 GB, free: 14.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.01653, allocations: 0.6412 MB / 0.4921 GB, free: 13.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.01804, allocations: 1.573 MB / 0.4936 GB, free: 11.81 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.01843, allocations: 210.9 kB / 0.4938 GB, free: 11.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.01961, allocations: 0.9133 MB / 0.4947 GB, free: 10.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007749/0.02039, allocations: 0.6737 MB / 0.4953 GB, free: 10 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.02057, allocations: 120 kB / 0.4955 GB, free: 9.887 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.02099, allocations: 267.8 kB / 0.4957 GB, free: 9.625 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.0212, allocations: 343.9 kB / 0.496 GB, free: 9.289 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.02152, allocations: 462.4 kB / 0.4965 GB, free: 8.836 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.02273, allocations: 1.226 MB / 0.4977 GB, free: 7.605 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.02274, allocations: 0 / 0.4977 GB, free: 7.605 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02274, allocations: 0.5312 kB / 0.4977 GB, free: 7.605 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.02276, allocations: 0.625 kB / 0.4977 GB, free: 7.605 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004557/0.02732, allocations: 2.912 MB / 0.5005 GB, free: 4.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.02736, allocations: 16.02 kB / 0.5005 GB, free: 4.645 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.02997, allocations: 0.9217 MB / 0.5014 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.03089, allocations: 0.8068 MB / 0.5022 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.03109, allocations: 337.2 kB / 0.5025 GB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.03121, allocations: 84 kB / 0.5026 GB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.03216, allocations: 0.7422 MB / 0.5034 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.03218, allocations: 0 / 0.5034 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.03224, allocations: 35.94 kB / 0.5034 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.03225, allocations: 20 kB / 0.5034 GB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.03301, allocations: 0.4934 MB / 0.5039 GB, free: 1.09 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.00333/0.03634, allocations: 2.686 MB / 0.5065 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.03884, allocations: 1.249 MB / 0.5077 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.03926, allocations: 345.8 kB / 0.5081 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.03933, allocations: 21 kB / 0.5081 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006187/0.03995, allocations: 0.5259 MB / 0.5086 GB, free: 12.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 5.71e-06/0.03996, allocations: 3.984 kB / 0.5086 GB, free: 12.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.01187/0.05183, allocations: 5.095 MB / 0.5136 GB, free: 6.992 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.05188, allocations: 123.7 kB / 0.5137 GB, free: 6.848 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/0.05283, allocations: 0.9798 MB / 0.5147 GB, free: 5.852 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.05293, allocations: 49.73 kB / 0.5147 GB, free: 5.797 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.05325, allocations: 0.551 MB / 0.5152 GB, free: 5.238 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.05352, allocations: 364.9 kB / 0.5156 GB, free: 4.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.05385, allocations: 289.1 kB / 0.5159 GB, free: 4.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.05395, allocations: 480.7 kB / 0.5163 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.05452, allocations: 431.2 kB / 0.5167 GB, free: 3.684 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.05518, allocations: 0.626 MB / 0.5173 GB, free: 2.992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.05711, allocations: 1.613 MB / 0.5189 GB, free: 1.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.05711, allocations: 0 / 0.5189 GB, free: 1.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005428/0.06254, allocations: 3.055 MB / 0.5219 GB, free: 14.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.06259, allocations: 63.41 kB / 0.522 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.0626, allocations: 4 kB / 0.522 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.06698, allocations: 1.633 MB / 0.5236 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.06774, allocations: 271.6 kB / 0.5238 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/0.07448, allocations: 4.496 MB / 0.5282 GB, free: 7.594 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.07542, allocations: 155.2 kB / 0.5284 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.07551, allocations: 55.97 kB / 0.5284 GB, free: 7.387 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (155): * Single equations (assignments): 152 * 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,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004265/0.07593, allocations: 267 kB / 0.5287 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.07613, allocations: 159.1 kB / 0.5288 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004862/0.08099, allocations: 2.588 MB / 0.5313 GB, free: 4.324 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.08102, allocations: 8 kB / 0.5314 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.08103, allocations: 15.98 kB / 0.5314 GB, free: 4.301 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.08104, allocations: 7.922 kB / 0.5314 GB, free: 4.293 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/0.08748, allocations: 3.636 MB / 0.5349 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.08749, allocations: 3.984 kB / 0.5349 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.08789, allocations: 95.84 kB / 0.535 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005593/0.09348, allocations: 1.651 MB / 0.5366 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.09358, allocations: 31.98 kB / 0.5367 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008999/0.1026, allocations: 6.382 MB / 0.5429 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1026, allocations: 0 / 0.5429 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007112/0.1097, allocations: 3.038 MB / 0.5459 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.11, allocations: 146.9 kB / 0.546 GB, free: 4.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.1101, allocations: 16 kB / 0.546 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.1108, allocations: 83.92 kB / 0.5461 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/0.1113, allocations: 188.6 kB / 0.5463 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.1114, allocations: 24 kB / 0.5463 GB, free: 4.625 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006688/0.112, allocations: 0.6252 MB / 0.5469 GB, free: 3.992 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.112, allocations: 0 / 0.5469 GB, free: 3.992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001176/0.1132, allocations: 467.6 kB / 0.5474 GB, free: 3.535 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002712/0.1135, allocations: 143 kB / 0.5475 GB, free: 3.387 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.1167, allocations: 1.813 MB / 0.5493 GB, free: 1.504 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1167, allocations: 0 / 0.5493 GB, free: 1.504 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.1189, allocations: 1.308 MB / 0.5505 GB, free: 136 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.1196, allocations: 132.4 kB / 0.5507 GB, free: 4 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.1229, allocations: 2.023 MB / 0.5526 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1231, allocations: 245.5 kB / 0.5529 GB, free: 13.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.1234, allocations: 119.9 kB / 0.553 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.1236, allocations: 80.47 kB / 0.5531 GB, free: 13.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1236, allocations: 0 / 0.5531 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Templates: time 0.03036/0.154, allocations: 27.88 MB / 0.5803 GB, free: 1.699 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9430724061094224]