Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008798/0.00088, allocations: 96.17 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07006/0.07006, allocations: 12.59 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2983/0.2983, allocations: 78.51 MB / 457.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 107.6 kB / 0.5254 GB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1372, allocations: 68.13 MB / 0.592 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00611/0.1433, allocations: 6.069 MB / 0.5979 GB, free: 9.535 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.1465, allocations: 1.748 MB / 0.5996 GB, free: 7.781 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005853/0.1471, allocations: 12 kB / 0.5996 GB, free: 7.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.1476, allocations: 155 kB / 0.5998 GB, free: 7.617 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.149, allocations: 0.6173 MB / 0.6004 GB, free: 7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1501, allocations: 0.5219 MB / 0.6009 GB, free: 6.488 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.1514, allocations: 1.179 MB / 0.602 GB, free: 5.305 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.1517, allocations: 243.8 kB / 0.6023 GB, free: 5.055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.1523, allocations: 489.7 kB / 0.6027 GB, free: 4.574 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.1529, allocations: 0.6182 MB / 0.6033 GB, free: 3.953 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.153, allocations: 60 kB / 0.6034 GB, free: 3.895 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.1534, allocations: 183.9 kB / 0.6036 GB, free: 3.715 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1536, allocations: 206.9 kB / 0.6038 GB, free: 3.512 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.154, allocations: 0.5085 MB / 0.6043 GB, free: 3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1551, allocations: 1.288 MB / 0.6055 GB, free: 1.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1552, allocations: 0 / 0.6055 GB, free: 1.707 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1552, allocations: 0 / 0.6055 GB, free: 1.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1552, allocations: 0 / 0.6055 GB, free: 1.707 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007542/0.1627, allocations: 2.341 MB / 0.6078 GB, free: 15.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1628, allocations: 11.98 kB / 0.6078 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.1675, allocations: 0.7518 MB / 0.6086 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1688, allocations: 0.701 MB / 0.6092 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.1691, allocations: 251.5 kB / 0.6095 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1693, allocations: 67.94 kB / 0.6095 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.1713, allocations: 0.9472 MB / 0.6105 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1713, allocations: 3.938 kB / 0.6105 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.1714, allocations: 24 kB / 0.6105 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1714, allocations: 16 kB / 0.6105 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.1735, allocations: 0.9655 MB / 0.6115 GB, free: 11.49 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.005407/0.1789, allocations: 3.147 MB / 0.6145 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.181, allocations: 1.314 MB / 0.6158 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.1824, allocations: 0.7022 MB / 0.6165 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.1826, allocations: 8.656 kB / 0.6165 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1826, allocations: 43.22 kB / 0.6165 GB, free: 5.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 2.534e-06/0.1826, allocations: 0 / 0.6165 GB, free: 5.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=81): time 0.02788/0.2105, allocations: 6.696 MB / 0.6231 GB, free: 15.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.2106, allocations: 60.06 kB / 0.6231 GB, free: 15.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.2117, allocations: 0.7944 MB / 0.6239 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.2119, allocations: 41.7 kB / 0.624 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.2122, allocations: 428.4 kB / 0.6244 GB, free: 13.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.2125, allocations: 287.8 kB / 0.6246 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.2128, allocations: 182.5 kB / 0.6248 GB, free: 13.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.213, allocations: 341.9 kB / 0.6251 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.2144, allocations: 0.6425 MB / 0.6258 GB, free: 12.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.216, allocations: 0.7627 MB / 0.6265 GB, free: 11.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01832/0.2343, allocations: 4.445 MB / 0.6309 GB, free: 7.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.2344, allocations: 0 / 0.6309 GB, free: 7.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01368/0.2481, allocations: 4.043 MB / 0.6348 GB, free: 3.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.2481, allocations: 6.969 kB / 0.6348 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2482, allocations: 4 kB / 0.6348 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/0.2546, allocations: 1.863 MB / 0.6366 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.2555, allocations: 163.7 kB / 0.6368 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2469/0.5024, allocations: 8.352 MB / 0.6449 GB, free: 47.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.504, allocations: 147.7 kB / 0.6451 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/0.5041, allocations: 39.38 kB / 0.6451 GB, free: 47.15 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003972/0.5045, allocations: 224.5 kB / 0.6453 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.5047, allocations: 104.7 kB / 0.6454 GB, free: 46.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.5184, allocations: 3.82 MB / 0.6492 GB, free: 46.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.5185, allocations: 9.188 kB / 0.6492 GB, free: 46.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5185, allocations: 0 / 0.6492 GB, free: 46.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.5185, allocations: 4.172 kB / 0.6492 GB, free: 46.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.5335, allocations: 5.334 MB / 0.6544 GB, free: 44.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.5336, allocations: 5.344 kB / 0.6544 GB, free: 44.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.5341, allocations: 89.11 kB / 0.6545 GB, free: 44.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006098/0.5402, allocations: 1.742 MB / 0.6562 GB, free: 44.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.5404, allocations: 16.34 kB / 0.6562 GB, free: 44.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/0.557, allocations: 7.359 MB / 0.6634 GB, free: 40.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5571, allocations: 3.938 kB / 0.6634 GB, free: 40.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07979/0.6369, allocations: 30.92 MB / 0.6936 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.6371, allocations: 195.5 kB / 0.6938 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6372, allocations: 15.98 kB / 0.6938 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/0.6381, allocations: 88.62 kB / 0.6939 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006021/0.6388, allocations: 197.5 kB / 0.6941 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.6388, allocations: 20 kB / 0.6941 GB, free: 11.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000567/0.6394, allocations: 0.5303 MB / 0.6946 GB, free: 10.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6394, allocations: 0 / 0.6946 GB, free: 10.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001831/0.6412, allocations: 0.5416 MB / 0.6951 GB, free: 10.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/0.6415, allocations: 137.9 kB / 0.6952 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006032/0.6475, allocations: 2.253 MB / 0.6975 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6476, allocations: 0 / 0.6975 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00433/0.6519, allocations: 1.458 MB / 0.6989 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.6527, allocations: 79.25 kB / 0.6989 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.6592, allocations: 3.27 MB / 0.7021 GB, free: 3.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.6597, allocations: 1.067 MB / 0.7032 GB, free: 2.102 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003504/0.6601, allocations: 74.19 kB / 0.7033 GB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.6603, allocations: 55.42 kB / 0.7033 GB, free: 1.973 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6603, allocations: 7.391 kB / 0.7033 GB, free: 1.969 MB / 426.7 MB Notification: Performance of Templates: time 0.04171/0.702, allocations: 29.11 MB / 0.7317 GB, free: 4.875 MB / 458.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)