Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.0009497/0.0009497, 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.9412/0.9412, allocations: 177.1 MB / 200 MB, free: 5.5 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.001163/0.001163, allocations: 160.7 kB / 256.6 MB, free: 12.98 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.3104/0.3104, allocations: 80.24 MB / 393.4 MB, free: 2.172 MB / 314.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 489.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.39e-05, allocations: 5.547 kB / 489.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.005014/0.005038, allocations: 5.966 MB / 495.8 MB, free: 5.578 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.008415, allocations: 1.87 MB / 497.7 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004616/0.008876, allocations: 8 kB / 497.7 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.009287, allocations: 214.9 kB / 497.9 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.0107, allocations: 0.8166 MB / 498.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008868/0.01159, allocations: 0.5839 MB / 499.3 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.0127, allocations: 1.42 MB / 0.489 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.01297, allocations: 184.3 kB / 0.4891 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.01373, allocations: 0.8227 MB / 0.4899 GB, free: 15.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.01428, allocations: 0.6157 MB / 0.4905 GB, free: 15.05 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.0144, allocations: 105 kB / 0.4906 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.01474, allocations: 247.8 kB / 0.4909 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.0149, allocations: 296.4 kB / 0.4912 GB, free: 14.42 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.01518, allocations: 414.6 kB / 0.4916 GB, free: 14.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009549/0.01613, allocations: 1.136 MB / 0.4927 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.01613, allocations: 0 / 0.4927 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01613, allocations: 4 kB / 0.4927 GB, free: 12.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.01615, allocations: 0.5625 kB / 0.4927 GB, free: 12.87 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004408/0.02056, allocations: 2.586 MB / 0.4952 GB, free: 10.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.02059, allocations: 9.625 kB / 0.4952 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.0232, allocations: 0.8961 MB / 0.4961 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.02398, allocations: 0.7282 MB / 0.4968 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.02419, allocations: 363 kB / 0.4971 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.02429, allocations: 79.95 kB / 0.4972 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.02538, allocations: 0.8205 MB / 0.498 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.02539, allocations: 0 / 0.498 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.02545, allocations: 24 kB / 0.498 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.02547, allocations: 23.94 kB / 0.4981 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.02617, allocations: 455.5 kB / 0.4985 GB, free: 6.766 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.003254/0.02942, allocations: 2.605 MB / 0.501 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.03191, allocations: 1.182 MB / 0.5022 GB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.03232, allocations: 305.2 kB / 0.5025 GB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.103e-05/0.0324, allocations: 20.64 kB / 0.5025 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.03242, allocations: 49.98 kB / 0.5026 GB, free: 2.488 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.746e-06/0.03243, allocations: 0 / 0.5026 GB, free: 2.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01169/0.04412, allocations: 4.802 MB / 0.5072 GB, free: 13.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.04419, allocations: 101.7 kB / 0.5073 GB, free: 13.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.04492, allocations: 0.9001 MB / 0.5082 GB, free: 12.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.04499, allocations: 41.7 kB / 0.5083 GB, free: 12.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.04526, allocations: 0.5156 MB / 0.5088 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.04546, allocations: 325.3 kB / 0.5091 GB, free: 11.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.04575, allocations: 252.5 kB / 0.5093 GB, free: 11.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.0459, allocations: 0.5277 MB / 0.5098 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.04639, allocations: 339.1 kB / 0.5101 GB, free: 10.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.04701, allocations: 0.5791 MB / 0.5107 GB, free: 9.961 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.04862, allocations: 1.401 MB / 0.5121 GB, free: 8.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.04863, allocations: 0 / 0.5121 GB, free: 8.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005461/0.05409, allocations: 2.813 MB / 0.5148 GB, free: 5.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.05411, allocations: 8 kB / 0.5148 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.05412, allocations: 4 kB / 0.5148 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/0.05841, allocations: 1.546 MB / 0.5164 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.05899, allocations: 239.6 kB / 0.5166 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.0655, allocations: 4.31 MB / 0.5208 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/0.06613, allocations: 143.2 kB / 0.5209 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.0662, allocations: 55.92 kB / 0.521 GB, free: 15.23 MB / 458.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.06652, allocations: 231.5 kB / 0.5212 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/0.06701, allocations: 324.3 kB / 0.5215 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/0.07156, allocations: 2.373 MB / 0.5238 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.07157, allocations: 8 kB / 0.5238 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.07158, allocations: 8 kB / 0.5238 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.07158, allocations: 7.922 kB / 0.5238 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/0.07743, allocations: 3.33 MB / 0.5271 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.07743, allocations: 0 / 0.5271 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.07772, allocations: 115.8 kB / 0.5272 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004353/0.08208, allocations: 1.607 MB / 0.5288 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.08213, allocations: 19.94 kB / 0.5288 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00747/0.0896, allocations: 8.52 MB / 0.5371 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.0896, allocations: 0 / 0.5371 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005497/0.0951, allocations: 2.917 MB / 0.54 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.09526, allocations: 139 kB / 0.5401 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.09536, allocations: 19.98 kB / 0.5401 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.09578, allocations: 67.94 kB / 0.5402 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.09607, allocations: 172.7 kB / 0.5403 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.09612, allocations: 27.94 kB / 0.5404 GB, free: 10.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004844/0.0966, allocations: 0.5759 MB / 0.5409 GB, free: 10.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0966, allocations: 0 / 0.5409 GB, free: 10.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009649/0.09757, allocations: 431.7 kB / 0.5414 GB, free: 9.906 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/0.09781, allocations: 135.1 kB / 0.5415 GB, free: 9.762 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.1003, allocations: 1.562 MB / 0.543 GB, free: 8.176 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1003, allocations: 0 / 0.543 GB, free: 8.176 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.1019, allocations: 0.9767 MB / 0.544 GB, free: 7.172 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.1026, allocations: 397 kB / 0.5443 GB, free: 6.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.1053, allocations: 1.882 MB / 0.5462 GB, free: 4.852 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1054, allocations: 221.1 kB / 0.5464 GB, free: 4.617 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1056, allocations: 99.12 kB / 0.5465 GB, free: 4.516 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.1058, allocations: 72.48 kB / 0.5465 GB, free: 4.445 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1058, allocations: 0 / 0.5465 GB, free: 4.445 MB / 474.7 MB Notification: Performance of Templates: time 0.02497/0.1307, allocations: 24.52 MB / 0.5705 GB, free: 12.03 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.387927297037095]