Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.0009903/0.0009903, allocations: 82.05 kB / 19.87 MB, free: 4.621 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 1.028/1.028, allocations: 177.2 MB / 200.3 MB, free: 5.344 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.001323/0.001323, allocations: 155.4 kB / 256.9 MB, free: 12.81 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.2875/0.2875, allocations: 83.29 MB / 396.7 MB, free: 15.01 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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 494.5 MB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.27e-05, allocations: 7.688 kB / 494.5 MB, free: 6.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01457/0.01459, allocations: 20.02 MB / 0.5024 GB, free: 2.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02481, allocations: 4.899 MB / 0.5072 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.02848, allocations: 44 kB / 0.5073 GB, free: 13.92 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.03067, allocations: 0.8876 MB / 0.5081 GB, free: 13.02 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007332/0.038, allocations: 2.4 MB / 0.5105 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.04255, allocations: 2.063 MB / 0.5125 GB, free: 8.559 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007282/0.04983, allocations: 5.905 MB / 0.5183 GB, free: 2.629 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.05151, allocations: 0.8688 MB / 0.5191 GB, free: 1.707 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00618/0.05769, allocations: 3.37 MB / 0.5224 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.06078, allocations: 2.317 MB / 0.5247 GB, free: 12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009086/0.06169, allocations: 448 kB / 0.5251 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.06279, allocations: 0.6052 MB / 0.5257 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006819/0.06347, allocations: 1.186 MB / 0.5268 GB, free: 9.77 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.06536, allocations: 1.74 MB / 0.5285 GB, free: 8.023 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.06964, allocations: 4.524 MB / 0.533 GB, free: 3.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.06965, allocations: 4 kB / 0.533 GB, free: 3.477 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.06965, allocations: 0 / 0.533 GB, free: 3.477 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.383e-05/0.06969, allocations: 0 / 0.533 GB, free: 3.477 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01659/0.08628, allocations: 10.31 MB / 0.543 GB, free: 9.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.08635, allocations: 12.03 kB / 0.543 GB, free: 9.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.09991, allocations: 4.796 MB / 0.5477 GB, free: 4.254 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.103, allocations: 2.523 MB / 0.5502 GB, free: 1.641 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/0.1036, allocations: 1.013 MB / 0.5512 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000581/0.1042, allocations: 352 kB / 0.5515 GB, free: 132 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.1074, allocations: 2.811 MB / 0.5543 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.1074, allocations: 0 / 0.5543 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.1077, allocations: 140 kB / 0.5544 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.1077, allocations: 87.94 kB / 0.5545 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.1099, allocations: 1.602 MB / 0.556 GB, free: 11.43 MB / 490.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.01761/0.1275, allocations: 11.77 MB / 0.5675 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006747/0.1342, allocations: 2.313 MB / 0.5698 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.1375, allocations: 0.9858 MB / 0.5708 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.1381, allocations: 90.95 kB / 0.5708 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003976/0.142, allocations: 1.64 MB / 0.5724 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 1.291e-05/0.142, allocations: 0 / 0.5724 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.3771/0.5191, allocations: 55.05 MB / 0.6262 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.5192, allocations: 149.8 kB / 0.6263 GB, free: 145 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.5214, allocations: 2.901 MB / 0.6292 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/0.5217, allocations: 90.95 kB / 0.6293 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008838/0.5226, allocations: 2.142 MB / 0.6314 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008856/0.5235, allocations: 1.392 MB / 0.6327 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008462/0.5243, allocations: 0.7175 MB / 0.6334 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.5244, allocations: 476.8 kB / 0.6339 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.5257, allocations: 1.024 MB / 0.6349 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.5274, allocations: 1.863 MB / 0.6367 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004624/0.532, allocations: 4.565 MB / 0.6411 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.5321, allocations: 4 kB / 0.6412 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01901/0.5511, allocations: 11.31 MB / 0.6522 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.5511, allocations: 64.03 kB / 0.6523 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.5511, allocations: 16 kB / 0.6523 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02251/0.5737, allocations: 7.325 MB / 0.6594 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.5766, allocations: 0.6904 MB / 0.6601 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03328/0.6099, allocations: 13.13 MB / 0.6729 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.6131, allocations: 0.5333 MB / 0.6734 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.6134, allocations: 120 kB / 0.6736 GB, free: 104.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (402): * Single equations (assignments): 399 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.6144, allocations: 418.2 kB / 0.674 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006656/0.6151, allocations: 0.583 MB / 0.6745 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/0.6326, allocations: 10.67 MB / 0.6849 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.6327, allocations: 40 kB / 0.685 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.6327, allocations: 28 kB / 0.685 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-05/0.6327, allocations: 23.92 kB / 0.685 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/0.6534, allocations: 13.36 MB / 0.6981 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.6534, allocations: 0 / 0.6981 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.6546, allocations: 391.5 kB / 0.6985 GB, free: 79.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01723/0.6718, allocations: 7.551 MB / 0.7058 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003959/0.6722, allocations: 71.98 kB / 0.7059 GB, free: 71.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/0.6925, allocations: 14.55 MB / 0.7201 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6925, allocations: 11.06 kB / 0.7201 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/0.7126, allocations: 11.67 MB / 0.7315 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.7138, allocations: 0.5034 MB / 0.732 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.7141, allocations: 68 kB / 0.7321 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.7158, allocations: 287.7 kB / 0.7323 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001692/0.7175, allocations: 0.7723 MB / 0.7331 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.7177, allocations: 75.97 kB / 0.7332 GB, free: 43.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001002/0.7187, allocations: 1.624 MB / 0.7348 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7187, allocations: 0 / 0.7348 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003264/0.7219, allocations: 1.81 MB / 0.7365 GB, free: 39.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003659/0.7223, allocations: 206 kB / 0.7367 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008535/0.7308, allocations: 5.64 MB / 0.7422 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7308, allocations: 0 / 0.7422 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006488/0.7373, allocations: 4.329 MB / 0.7465 GB, free: 29.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.7391, allocations: 454.5 kB / 0.7469 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/0.7475, allocations: 7.412 MB / 0.7541 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.7481, allocations: 0.8064 MB / 0.7549 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000721/0.7488, allocations: 367.1 kB / 0.7553 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007606/0.7496, allocations: 0.506 MB / 0.7558 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of SimCode: time 2.264e-06/0.7496, allocations: 0 / 0.7558 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.2683/1.018, allocations: 105.4 MB / 0.8587 GB, free: 149.8 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.6265465980395675]