Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001347/0.001347, allocations: 88.22 kB / 19.65 MB, free: 272 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 1.042/1.042, allocations: 177.2 MB / 200 MB, free: 5.539 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.002237/0.002237, allocations: 160.6 kB / 256.6 MB, free: 13 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.2895/0.2895, allocations: 83.28 MB / 396.4 MB, free: 15.21 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 494 MB, free: 7.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.481e-05, allocations: 4.375 kB / 494 MB, free: 7.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01365/0.01368, allocations: 20.44 MB / 0.5024 GB, free: 2.699 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.02485, allocations: 4.868 MB / 0.5071 GB, free: 13.87 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00381/0.02866, allocations: 47.94 kB / 0.5072 GB, free: 13.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.03129, allocations: 0.8866 MB / 0.5081 GB, free: 12.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007704/0.03899, allocations: 2.394 MB / 0.5104 GB, free: 10.53 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.04367, allocations: 2.044 MB / 0.5124 GB, free: 8.488 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008293/0.05196, allocations: 5.846 MB / 0.5181 GB, free: 2.617 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.05381, allocations: 0.861 MB / 0.5189 GB, free: 1.703 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005788/0.0596, allocations: 3.35 MB / 0.5222 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/0.06287, allocations: 2.286 MB / 0.5244 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.06423, allocations: 440 kB / 0.5249 GB, free: 11.62 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.06594, allocations: 0.6052 MB / 0.5255 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009304/0.06687, allocations: 1.17 MB / 0.5266 GB, free: 9.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.06942, allocations: 1.725 MB / 0.5283 GB, free: 8.109 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006289/0.07571, allocations: 4.489 MB / 0.5327 GB, free: 3.602 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.07572, allocations: 0 / 0.5327 GB, free: 3.602 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.07572, allocations: 0 / 0.5327 GB, free: 3.602 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002123/0.07593, allocations: 0 / 0.5327 GB, free: 3.602 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01799/0.09392, allocations: 10.13 MB / 0.5426 GB, free: 9.371 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.09398, allocations: 12.03 kB / 0.5426 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.1086, allocations: 4.792 MB / 0.5473 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/0.1132, allocations: 2.562 MB / 0.5498 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006398/0.1138, allocations: 1.013 MB / 0.5507 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006116/0.1145, allocations: 348 kB / 0.5511 GB, free: 408 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004898/0.1194, allocations: 3.136 MB / 0.5541 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.1194, allocations: 0 / 0.5541 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.1197, allocations: 140 kB / 0.5543 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.1197, allocations: 87.94 kB / 0.5544 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.1233, allocations: 2.033 MB / 0.5563 GB, free: 10.95 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.01913/0.1424, allocations: 12.25 MB / 0.5683 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.1471, allocations: 2.57 MB / 0.5708 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.1491, allocations: 1.208 MB / 0.572 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.1494, allocations: 82.95 kB / 0.5721 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002509/0.1519, allocations: 1.853 MB / 0.5739 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 9.748e-06/0.1519, allocations: 0 / 0.5739 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.3376/0.4894, allocations: 56.27 MB / 0.6288 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4895, allocations: 148.2 kB / 0.629 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.4923, allocations: 2.987 MB / 0.6319 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006766/0.493, allocations: 86.89 kB / 0.632 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009945/0.494, allocations: 2.073 MB / 0.634 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.495, allocations: 1.37 MB / 0.6353 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008593/0.4959, allocations: 0.6849 MB / 0.636 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.496, allocations: 484.1 kB / 0.6365 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.4977, allocations: 1.139 MB / 0.6376 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.4996, allocations: 1.965 MB / 0.6395 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005496/0.5051, allocations: 4.838 MB / 0.6442 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.5051, allocations: 8 kB / 0.6442 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02216/0.5273, allocations: 11.67 MB / 0.6556 GB, free: 122 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.5274, allocations: 65.12 kB / 0.6557 GB, free: 122 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.5274, allocations: 19.94 kB / 0.6557 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02043/0.5478, allocations: 7.593 MB / 0.6631 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.55, allocations: 0.66 MB / 0.6638 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02788/0.5779, allocations: 14.01 MB / 0.6775 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.5814, allocations: 0.5342 MB / 0.678 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.5817, allocations: 148 kB / 0.6781 GB, free: 99.02 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (393): * Single equations (assignments): 390 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.5828, allocations: 412.3 kB / 0.6785 GB, free: 98.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007892/0.5836, allocations: 0.5829 MB / 0.6791 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02088/0.6045, allocations: 11.23 MB / 0.69 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/0.6045, allocations: 36.77 kB / 0.6901 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-05/0.6045, allocations: 28 kB / 0.6901 GB, free: 86.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/0.6046, allocations: 15.94 kB / 0.6901 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/0.6296, allocations: 14.39 MB / 0.7042 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.6296, allocations: 3.938 kB / 0.7042 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.631, allocations: 383.5 kB / 0.7045 GB, free: 71.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02054/0.6515, allocations: 7.678 MB / 0.712 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000849/0.6524, allocations: 71.98 kB / 0.7121 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02585/0.6782, allocations: 15.01 MB / 0.7268 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6782, allocations: 0 / 0.7268 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02544/0.7036, allocations: 12.49 MB / 0.739 GB, free: 36.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.7048, allocations: 0.4996 MB / 0.7395 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/0.7054, allocations: 79.92 kB / 0.7395 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.7073, allocations: 279.7 kB / 0.7398 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001767/0.7091, allocations: 0.7761 MB / 0.7406 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/0.7093, allocations: 94.28 kB / 0.7407 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001569/0.7109, allocations: 1.777 MB / 0.7424 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7109, allocations: 4 kB / 0.7424 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003594/0.7145, allocations: 1.792 MB / 0.7441 GB, free: 31.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005011/0.715, allocations: 200.3 kB / 0.7443 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01008/0.7251, allocations: 6.099 MB / 0.7503 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.7251, allocations: 448 / 0.7503 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008014/0.7331, allocations: 4.524 MB / 0.7547 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.7358, allocations: 446.2 kB / 0.7551 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.7459, allocations: 7.323 MB / 0.7623 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.7465, allocations: 0.802 MB / 0.7631 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008301/0.7473, allocations: 371.1 kB / 0.7634 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000558/0.7479, allocations: 256.4 kB / 0.7637 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of SimCode: time 3.436e-06/0.7479, allocations: 0 / 0.7637 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.2868/1.035, allocations: 105.7 MB / 0.8669 GB, free: 140.2 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.521393334958702]