Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.0009364/0.0009364, 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.903/0.903, allocations: 177.1 MB / 200 MB, free: 5.555 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.001265/0.001265, allocations: 160.4 kB / 256.6 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2953/0.2953, allocations: 80.24 MB / 393.4 MB, free: 3.215 MB / 362.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 489.8 MB, free: 63.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.526e-05, allocations: 3.281 kB / 489.8 MB, free: 63.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.009374/0.009399, allocations: 6.299 MB / 496.1 MB, free: 56.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006573/0.01597, allocations: 1.967 MB / 498.1 MB, free: 54.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007088/0.01668, allocations: 8 kB / 498.1 MB, free: 54.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.01735, allocations: 241.9 kB / 498.3 MB, free: 54.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.02225, allocations: 0.8756 MB / 499.2 MB, free: 53.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.02327, allocations: 0.6495 MB / 499.8 MB, free: 53.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.02779, allocations: 1.577 MB / 0.4897 GB, free: 51.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.02817, allocations: 214.7 kB / 0.4899 GB, free: 51.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009602/0.02913, allocations: 0.9117 MB / 0.4908 GB, free: 50.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.03284, allocations: 0.6742 MB / 0.4914 GB, free: 49.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.03301, allocations: 124.6 kB / 0.4915 GB, free: 49.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.0335, allocations: 275.7 kB / 0.4918 GB, free: 49.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.0337, allocations: 335.2 kB / 0.4921 GB, free: 49.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.03401, allocations: 459.1 kB / 0.4926 GB, free: 48.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.03522, allocations: 1.222 MB / 0.4938 GB, free: 47.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.03522, allocations: 1.344 kB / 0.4938 GB, free: 47.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03523, allocations: 0 / 0.4938 GB, free: 47.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.03524, allocations: 3.938 kB / 0.4938 GB, free: 47.34 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01164/0.04688, allocations: 2.907 MB / 0.4966 GB, free: 44.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.04693, allocations: 8.594 kB / 0.4966 GB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/0.05006, allocations: 0.9376 MB / 0.4975 GB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.05102, allocations: 0.7937 MB / 0.4983 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.0512, allocations: 329.3 kB / 0.4986 GB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.05131, allocations: 91.94 kB / 0.4987 GB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/0.05221, allocations: 0.7508 MB / 0.4994 GB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.05223, allocations: 0 / 0.4994 GB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.05229, allocations: 36.84 kB / 0.4995 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.0523, allocations: 16 kB / 0.4995 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.05302, allocations: 0.4901 MB / 0.5 GB, free: 40.84 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.003329/0.05635, allocations: 2.735 MB / 0.5026 GB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.05871, allocations: 1.252 MB / 0.5039 GB, free: 36.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.05909, allocations: 339.9 kB / 0.5042 GB, free: 36.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.05916, allocations: 21 kB / 0.5042 GB, free: 36.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005521/0.05971, allocations: 0.523 MB / 0.5047 GB, free: 35.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.126e-06/0.05971, allocations: 7.984 kB / 0.5047 GB, free: 35.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.0107/0.07042, allocations: 4.991 MB / 0.5096 GB, free: 30.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.07046, allocations: 119.8 kB / 0.5097 GB, free: 30.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.0713, allocations: 0.9793 MB / 0.5107 GB, free: 29.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/0.07139, allocations: 45.7 kB / 0.5107 GB, free: 29.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.07162, allocations: 0.551 MB / 0.5112 GB, free: 29.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.07184, allocations: 372.8 kB / 0.5116 GB, free: 28.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.07213, allocations: 293.1 kB / 0.5119 GB, free: 28.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.07216, allocations: 480.7 kB / 0.5123 GB, free: 27.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.07266, allocations: 431.2 kB / 0.5127 GB, free: 27.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.07322, allocations: 0.6377 MB / 0.5134 GB, free: 26.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.07477, allocations: 1.633 MB / 0.515 GB, free: 25.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.07477, allocations: 4 kB / 0.515 GB, free: 25.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004965/0.07974, allocations: 3.039 MB / 0.5179 GB, free: 22.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.0798, allocations: 63.39 kB / 0.518 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.07981, allocations: 0 / 0.518 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/0.08377, allocations: 1.533 MB / 0.5195 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.08452, allocations: 295.5 kB / 0.5198 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/0.09033, allocations: 4.349 MB / 0.524 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/0.09127, allocations: 171.1 kB / 0.5242 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.09134, allocations: 55.97 kB / 0.5242 GB, free: 15.45 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 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 (161): * Single equations (assignments): 158 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003799/0.09172, allocations: 262.9 kB / 0.5245 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.09189, allocations: 163.2 kB / 0.5246 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.0963, allocations: 2.584 MB / 0.5272 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.0963, allocations: 11.98 kB / 0.5272 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.09631, allocations: 8 kB / 0.5272 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.09632, allocations: 3.984 kB / 0.5272 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.1018, allocations: 3.659 MB / 0.5308 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1018, allocations: 3.984 kB / 0.5308 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.1021, allocations: 99.94 kB / 0.5309 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003884/0.106, allocations: 1.627 MB / 0.5325 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.106, allocations: 35.92 kB / 0.5325 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/0.1124, allocations: 6.416 MB / 0.5388 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1124, allocations: 0 / 0.5388 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005655/0.118, allocations: 3.019 MB / 0.5417 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.1184, allocations: 150.9 kB / 0.5418 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.1185, allocations: 19.94 kB / 0.5419 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.119, allocations: 79.92 kB / 0.5419 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004458/0.1194, allocations: 196.6 kB / 0.5421 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.1195, allocations: 27.98 kB / 0.5422 GB, free: 12.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005803/0.12, allocations: 0.6133 MB / 0.5428 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.12, allocations: 0 / 0.5428 GB, free: 12.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001127/0.1212, allocations: 475.6 kB / 0.5432 GB, free: 11.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.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.0002913/0.1215, allocations: 142 kB / 0.5433 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002772/0.1242, allocations: 1.79 MB / 0.5451 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1242, allocations: 0 / 0.5451 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.1261, allocations: 1.306 MB / 0.5464 GB, free: 8.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.1267, allocations: 138.6 kB / 0.5465 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.1298, allocations: 2.057 MB / 0.5485 GB, free: 5.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.13, allocations: 245.4 kB / 0.5487 GB, free: 5.703 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.1303, allocations: 120 kB / 0.5489 GB, free: 5.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.1305, allocations: 84.47 kB / 0.5489 GB, free: 5.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/0.1305, allocations: 4 kB / 0.5489 GB, free: 5.496 MB / 426.7 MB Notification: Performance of Templates: time 0.03169/0.1622, allocations: 27.65 MB / 0.5759 GB, free: 9.953 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.054139417596161]