Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05337/0.05337, allocations: 9.51 MB / 29.37 MB, free: 140 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009036/0.0009036, allocations: 99.31 kB / 35.55 MB, free: 0.5508 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 158.6 MB / 197.4 MB, free: 6.902 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.002039/0.002039, allocations: 168 kB / 249.9 MB, free: 5.434 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.232/0.232, allocations: 59.7 MB / 312.9 MB, free: 6.316 MB / 298.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 351 MB, free: 92 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.304e-05, allocations: 6.25 kB / 351.1 MB, free: 84 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.1707/0.1708, allocations: 5.87 MB / 356.9 MB, free: 20.44 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003591/0.1744, allocations: 1.86 MB / 358.8 MB, free: 19.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.1748, allocations: 9.062 kB / 358.8 MB, free: 19.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.1753, allocations: 225.9 kB / 359 MB, free: 19.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.1769, allocations: 0.8138 MB / 359.8 MB, free: 18.52 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1779, allocations: 0.5779 MB / 360.4 MB, free: 18.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1791, allocations: 1.427 MB / 361.8 MB, free: 17.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.1794, allocations: 191.7 kB / 362 MB, free: 17.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.1803, allocations: 0.8171 MB / 362.8 MB, free: 16.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.181, allocations: 0.6227 MB / 363.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1812, allocations: 104.3 kB / 363.6 MB, free: 16.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.1816, allocations: 245.2 kB / 363.8 MB, free: 16.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1818, allocations: 294.3 kB / 364.1 MB, free: 16.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.1821, allocations: 420.3 kB / 364.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1832, allocations: 1.111 MB / 365.6 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1832, allocations: 0 / 365.6 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1832, allocations: 1.031 kB / 365.6 MB, free: 15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1832, allocations: 0.9688 kB / 365.6 MB, free: 15 MB / 330.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.004/0.1872, allocations: 2.453 MB / 368.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1872, allocations: 12.72 kB / 368.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.1901, allocations: 0.9557 MB / 369 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.1907, allocations: 0.5188 MB / 369.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.1909, allocations: 355 kB / 369.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/0.191, allocations: 85.66 kB / 370 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/0.1917, allocations: 0.7397 MB / 370.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1917, allocations: 0 / 370.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.1917, allocations: 24 kB / 370.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1918, allocations: 24.47 kB / 370.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.1922, allocations: 290.7 kB / 371 MB, free: 10.16 MB / 330.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.00225/0.1944, allocations: 1.763 MB / 372.8 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.1965, allocations: 1.057 MB / 373.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.1967, allocations: 216.1 kB / 374.1 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.1968, allocations: 17.53 kB / 374.1 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1968, allocations: 43.22 kB / 374.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.053e-06/0.1968, allocations: 0.7188 kB / 374.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.009538/0.2064, allocations: 4.306 MB / 378.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.2064, allocations: 97.77 kB / 378.5 MB, free: 2.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.2069, allocations: 0.782 MB / 379.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.2069, allocations: 49.64 kB / 379.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.207, allocations: 339.1 kB / 379.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.2072, allocations: 329.2 kB / 380 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.2074, allocations: 238.7 kB / 380.3 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.2074, allocations: 365.8 kB / 380.6 MB, free: 492 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.2078, allocations: 295.2 kB / 380.9 MB, free: 200 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.2083, allocations: 472.9 kB / 381.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.2098, allocations: 1.274 MB / 382.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.2098, allocations: 0 / 382.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004607/0.2145, allocations: 2.468 MB / 385.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2145, allocations: 9.875 kB / 385.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2145, allocations: 4 kB / 385.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/0.2184, allocations: 1.498 MB / 386.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.219, allocations: 263.6 kB / 386.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004912/0.2239, allocations: 3.334 MB / 390.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.2245, allocations: 143.2 kB / 390.3 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.2246, allocations: 41.09 kB / 390.4 MB, free: 6.504 MB / 346.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.0002866/0.2249, allocations: 188.4 kB / 390.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.2253, allocations: 246.9 kB / 390.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.229, allocations: 2.099 MB / 392.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.229, allocations: 12.62 kB / 392.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2291, allocations: 8 kB / 392.9 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2291, allocations: 7.969 kB / 392.9 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.2338, allocations: 2.706 MB / 395.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2338, allocations: 1.188 kB / 395.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.2341, allocations: 129.3 kB / 395.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003712/0.2378, allocations: 1.551 MB / 397.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.2379, allocations: 16 kB / 397.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/0.2437, allocations: 6.184 MB / 403.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2438, allocations: 4 kB / 403.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.2479, allocations: 2.333 MB / 405.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.2481, allocations: 115 kB / 406 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.2481, allocations: 16 kB / 406 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.2485, allocations: 71.94 kB / 406.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/0.2488, allocations: 168.7 kB / 406.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.2489, allocations: 16 kB / 406.2 MB, free: 6.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003194/0.2492, allocations: 399.9 kB / 406.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2492, allocations: 0 / 406.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.25, allocations: 431.7 kB / 407.1 MB, free: 5.496 MB / 362.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.0001945/0.2502, allocations: 117.4 kB / 407.2 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.2522, allocations: 1.341 MB / 408.5 MB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.2523, allocations: 12 kB / 408.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.2536, allocations: 0.8472 MB / 409.4 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.2542, allocations: 318.7 kB / 409.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.2565, allocations: 1.829 MB / 411.5 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2566, allocations: 229.1 kB / 411.7 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.2568, allocations: 96.72 kB / 411.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.2571, allocations: 159.4 kB / 412 MB, free: 492 kB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2571, allocations: 0 / 412 MB, free: 492 kB / 362.7 MB Notification: Performance of Templates: time 0.0258/0.2829, allocations: 24.08 MB / 436.1 MB, free: 8.602 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.530686696060002]