Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 174 kB / 15.42 MB, free: 5.812 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009025, allocations: 101.5 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4578/0.4578, allocations: 78.41 MB / 418.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 11.98 kB / 498.4 MB, free: 3.898 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4325, allocations: 68.76 MB / 0.5539 GB, free: 39.89 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.006766/0.4393, allocations: 6.649 MB / 0.5604 GB, free: 37.33 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003939/0.4433, allocations: 1.986 MB / 0.5623 GB, free: 36.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.4441, allocations: 16.12 kB / 0.5623 GB, free: 36.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006323/0.4448, allocations: 181.4 kB / 0.5625 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.4464, allocations: 0.644 MB / 0.5631 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.4477, allocations: 0.6171 MB / 0.5637 GB, free: 36.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.4494, allocations: 1.381 MB / 0.5651 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.4498, allocations: 282 kB / 0.5654 GB, free: 35.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000771/0.4506, allocations: 0.5278 MB / 0.5659 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006843/0.4513, allocations: 0.658 MB / 0.5665 GB, free: 35.24 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4514, allocations: 55.66 kB / 0.5666 GB, free: 35.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.4519, allocations: 179.6 kB / 0.5667 GB, free: 35.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.4521, allocations: 230.1 kB / 0.567 GB, free: 35.06 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.4525, allocations: 0.5473 MB / 0.5675 GB, free: 34.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.4537, allocations: 1.447 MB / 0.5689 GB, free: 34.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4537, allocations: 0 / 0.5689 GB, free: 34.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4537, allocations: 0 / 0.5689 GB, free: 34.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.4537, allocations: 0 / 0.5689 GB, free: 34.15 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00689/0.4606, allocations: 2.305 MB / 0.5712 GB, free: 33.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4607, allocations: 7.938 kB / 0.5712 GB, free: 33.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.4653, allocations: 0.7732 MB / 0.5719 GB, free: 32.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.4666, allocations: 0.8122 MB / 0.5727 GB, free: 32.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.4668, allocations: 253.5 kB / 0.573 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4669, allocations: 81.69 kB / 0.573 GB, free: 32.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.4689, allocations: 1.128 MB / 0.5741 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4689, allocations: 3.938 kB / 0.5741 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.469, allocations: 31.78 kB / 0.5742 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.469, allocations: 16.56 kB / 0.5742 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.471, allocations: 1.072 MB / 0.5752 GB, free: 31.38 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.004811/0.4758, allocations: 3.465 MB / 0.5786 GB, free: 29.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4776, allocations: 1.423 MB / 0.58 GB, free: 28.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.4788, allocations: 0.7447 MB / 0.5807 GB, free: 28.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.479, allocations: 17.61 kB / 0.5807 GB, free: 28.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.479, allocations: 41.19 kB / 0.5808 GB, free: 28.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/0.479, allocations: 0 / 0.5808 GB, free: 28.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02384/0.5028, allocations: 6.862 MB / 0.5875 GB, free: 26.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.5029, allocations: 91.08 kB / 0.5876 GB, free: 26.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.5046, allocations: 0.943 MB / 0.5885 GB, free: 26.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.5048, allocations: 41.8 kB / 0.5885 GB, free: 26.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.5052, allocations: 481.1 kB / 0.589 GB, free: 25.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.5056, allocations: 321 kB / 0.5893 GB, free: 25.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.5058, allocations: 100.1 kB / 0.5894 GB, free: 25.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.5059, allocations: 350 kB / 0.5897 GB, free: 25.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.5072, allocations: 0.6951 MB / 0.5904 GB, free: 25.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.5086, allocations: 0.8262 MB / 0.5912 GB, free: 24.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/0.5266, allocations: 4.685 MB / 0.5958 GB, free: 23.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.5266, allocations: 3.938 kB / 0.5958 GB, free: 23.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01394/0.5406, allocations: 4.242 MB / 0.5999 GB, free: 22.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.5407, allocations: 158.2 kB / 0.6001 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5407, allocations: 2.25 kB / 0.6001 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006345/0.5471, allocations: 1.791 MB / 0.6018 GB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5481, allocations: 182.8 kB / 0.602 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.5668, allocations: 8.591 MB / 0.6104 GB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.5685, allocations: 172.9 kB / 0.6106 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5686, allocations: 42.7 kB / 0.6106 GB, free: 16.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5686, allocations: 3.438 kB / 0.6106 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01204/0.5807, allocations: 4.102 MB / 0.6146 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.5807, allocations: 11.92 kB / 0.6146 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.5861, allocations: 1.784 MB / 0.6164 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.587, allocations: 183.7 kB / 0.6165 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/0.6042, allocations: 8.558 MB / 0.6249 GB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.6061, allocations: 159.1 kB / 0.6251 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.6062, allocations: 39.98 kB / 0.6251 GB, free: 2.125 MB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (105): * Single equations (assignments): 104 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007256/0.6069, allocations: 321.9 kB / 0.6254 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.6071, allocations: 118.5 kB / 0.6255 GB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.6193, allocations: 3.951 MB / 0.6294 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6193, allocations: 8 kB / 0.6294 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.6193, allocations: 0 / 0.6294 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.6194, allocations: 11.98 kB / 0.6294 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.634, allocations: 5.539 MB / 0.6348 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.634, allocations: 0 / 0.6348 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.6347, allocations: 103.9 kB / 0.6349 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005669/0.6404, allocations: 1.743 MB / 0.6366 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.6405, allocations: 20 kB / 0.6366 GB, free: 6.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/0.6569, allocations: 7.343 MB / 0.6438 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6569, allocations: 11.92 kB / 0.6438 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.6713, allocations: 4.841 MB / 0.6485 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.6719, allocations: 203.5 kB / 0.6487 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.6721, allocations: 16 kB / 0.6487 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6731, allocations: 107.9 kB / 0.6488 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/0.6738, allocations: 200.5 kB / 0.649 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/0.6739, allocations: 24 kB / 0.6491 GB, free: 9.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00094/0.6749, allocations: 0.6548 MB / 0.6497 GB, free: 8.566 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6749, allocations: 0 / 0.6497 GB, free: 8.566 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002038/0.6769, allocations: 0.6982 MB / 0.6504 GB, free: 7.867 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0003017/0.6772, allocations: 124.4 kB / 0.6505 GB, free: 7.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.6883, allocations: 4.096 MB / 0.6545 GB, free: 3.629 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6883, allocations: 0 / 0.6545 GB, free: 3.629 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004426/0.6928, allocations: 1.506 MB / 0.656 GB, free: 2.105 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.6939, allocations: 103.1 kB / 0.6561 GB, free: 2.004 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.698, allocations: 2.475 MB / 0.6585 GB, free: 15.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.6987, allocations: 1.113 MB / 0.6596 GB, free: 14.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005022/0.6992, allocations: 118.8 kB / 0.6597 GB, free: 14.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6994, allocations: 59.42 kB / 0.6597 GB, free: 14.19 MB / 474.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6994, allocations: 0 / 0.6597 GB, free: 14.19 MB / 474.7 MB Notification: Performance of Templates: time 0.04358/0.743, allocations: 28.16 MB / 0.6872 GB, free: 2.082 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)