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.0521/0.0521, allocations: 9.51 MB / 29.37 MB, free: 156 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.000906/0.000906, allocations: 99.33 kB / 35.55 MB, free: 0.5664 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 0.8769/0.8769, allocations: 158.6 MB / 197.4 MB, free: 6.887 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.00118/0.00118, allocations: 172.1 kB / 249.9 MB, free: 5.43 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.2302/0.2302, allocations: 59.7 MB / 312.9 MB, free: 6.32 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.753e-06/1.753e-06, allocations: 0 / 351 MB, free: 148 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.403e-05, allocations: 14.19 kB / 351 MB, free: 132 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.1306/0.1306, allocations: 5.826 MB / 356.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.1337, allocations: 1.865 MB / 358.7 MB, free: 19.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005402/0.1342, allocations: 10.44 kB / 358.7 MB, free: 19.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.1346, allocations: 224.9 kB / 358.9 MB, free: 19.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.136, allocations: 0.8154 MB / 359.7 MB, free: 18.54 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.0008689/0.1369, allocations: 0.585 MB / 360.3 MB, free: 18.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.1381, allocations: 1.422 MB / 361.8 MB, free: 17.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.1383, allocations: 192.8 kB / 361.9 MB, free: 17.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.1392, allocations: 0.8248 MB / 362.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.1398, allocations: 0.6137 MB / 363.4 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.14, allocations: 105 kB / 363.5 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.1404, allocations: 238.2 kB / 363.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1405, allocations: 294.5 kB / 364 MB, free: 16.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.1408, allocations: 416.8 kB / 364.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009624/0.1418, allocations: 1.118 MB / 365.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1418, allocations: 1.438 kB / 365.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1418, allocations: 0 / 365.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.391e-05/0.1418, allocations: 0.6875 kB / 365.5 MB, free: 15.02 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.003795/0.1456, allocations: 2.454 MB / 368 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1456, allocations: 8.031 kB / 368 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.148, allocations: 0.9512 MB / 368.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.1486, allocations: 0.5227 MB / 369.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.1488, allocations: 355 kB / 369.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.1488, allocations: 79.94 kB / 369.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.1495, allocations: 0.7409 MB / 370.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1495, allocations: 0 / 370.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.1495, allocations: 28 kB / 370.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1495, allocations: 22.16 kB / 370.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.1499, allocations: 292.9 kB / 371 MB, free: 10.22 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.00208/0.152, allocations: 1.763 MB / 372.7 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.1539, allocations: 1.059 MB / 373.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.1541, allocations: 207.6 kB / 374 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.747e-05/0.1541, allocations: 20.64 kB / 374 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1542, allocations: 53.09 kB / 374.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.164e-06/0.1542, allocations: 1.656 kB / 374.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.008477/0.1626, allocations: 4.299 MB / 378.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1627, allocations: 101.6 kB / 378.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.163, allocations: 0.7781 MB / 379.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.1631, allocations: 45.7 kB / 379.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.1632, allocations: 347.1 kB / 379.6 MB, free: 1.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1633, allocations: 329.2 kB / 379.9 MB, free: 1.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.1635, allocations: 238.7 kB / 380.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.863e-05/0.1636, allocations: 365.8 kB / 380.5 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.1639, allocations: 295.2 kB / 380.8 MB, free: 272 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.1643, allocations: 472.9 kB / 381.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1657, allocations: 1.264 MB / 382.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1657, allocations: 0 / 382.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004236/0.1699, allocations: 2.475 MB / 385 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1699, allocations: 10.03 kB / 385 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.17, allocations: 0 / 385 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003571/0.1735, allocations: 1.502 MB / 386.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.174, allocations: 235.6 kB / 386.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/0.1785, allocations: 3.334 MB / 390.1 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.1791, allocations: 143.2 kB / 390.2 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.1792, allocations: 35.98 kB / 390.3 MB, free: 6.605 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.0002801/0.1794, allocations: 184.9 kB / 390.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/0.1798, allocations: 254.1 kB / 390.7 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.1835, allocations: 2.1 MB / 392.8 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1835, allocations: 12 kB / 392.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1835, allocations: 8 kB / 392.8 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1835, allocations: 7.984 kB / 392.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.188, allocations: 2.698 MB / 395.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.188, allocations: 3.984 kB / 395.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1883, allocations: 107.9 kB / 395.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/0.1919, allocations: 1.555 MB / 397.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.1919, allocations: 16 kB / 397.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.1973, allocations: 6.175 MB / 403.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1973, allocations: 0 / 403.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/0.2013, allocations: 2.336 MB / 405.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.2015, allocations: 118.9 kB / 405.8 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.2016, allocations: 19.98 kB / 405.9 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.2019, allocations: 65 kB / 405.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.2022, allocations: 169.3 kB / 406.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.2022, allocations: 15.98 kB / 406.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.2025, allocations: 403.9 kB / 406.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-08/0.2025, allocations: 4 kB / 406.5 MB, free: 6.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008559/0.2034, allocations: 427.7 kB / 406.9 MB, free: 5.621 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.0002005/0.2036, allocations: 112.3 kB / 407 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.2056, allocations: 1.35 MB / 408.4 MB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.2056, allocations: 12 kB / 408.4 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.2068, allocations: 0.8389 MB / 409.2 MB, free: 3.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/0.2075, allocations: 326.6 kB / 409.5 MB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.2099, allocations: 1.828 MB / 411.4 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2101, allocations: 217.1 kB / 411.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000213/0.2103, allocations: 103.2 kB / 411.7 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.2105, allocations: 167.3 kB / 411.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2105, allocations: 0 / 411.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of Templates: time 0.02476/0.2353, allocations: 23.95 MB / 435.8 MB, free: 8.848 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5897337938658893]