Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 239.4 MB, free: 5.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 183.6 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5335/0.5335, allocations: 91.93 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 8 kB / 0.5048 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3737, allocations: 72.47 MB / 0.5755 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.004792/0.3786, allocations: 6.215 MB / 0.5816 GB, free: 32.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.3822, allocations: 1.975 MB / 0.5835 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.3829, allocations: 16.38 kB / 0.5835 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.3836, allocations: 182.3 kB / 0.5837 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.3853, allocations: 0.6439 MB / 0.5843 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3865, allocations: 0.6024 MB / 0.5849 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.3878, allocations: 1.383 MB / 0.5863 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.3882, allocations: 281.4 kB / 0.5865 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.3888, allocations: 0.5184 MB / 0.5871 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.3894, allocations: 0.6532 MB / 0.5877 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3895, allocations: 59.19 kB / 0.5878 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.3899, allocations: 185.5 kB / 0.5879 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3901, allocations: 231.7 kB / 0.5881 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.3905, allocations: 0.5762 MB / 0.5887 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3916, allocations: 1.437 MB / 0.5901 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3916, allocations: 0 / 0.5901 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3916, allocations: 0 / 0.5901 GB, free: 28.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.3917, allocations: 0 / 0.5901 GB, free: 28.04 MB / 430.1 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.007747/0.3994, allocations: 2.37 MB / 0.5924 GB, free: 27.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3995, allocations: 9.688 kB / 0.5924 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.4045, allocations: 0.7801 MB / 0.5932 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.4061, allocations: 0.8145 MB / 0.594 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.4064, allocations: 262.9 kB / 0.5942 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.4066, allocations: 81.78 kB / 0.5943 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.4091, allocations: 1.203 MB / 0.5955 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.4091, allocations: 3.938 kB / 0.5955 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.4092, allocations: 34.59 kB / 0.5955 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4092, allocations: 18.03 kB / 0.5956 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.4117, allocations: 1.161 MB / 0.5967 GB, free: 25.23 MB / 430.1 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.006128/0.4178, allocations: 3.522 MB / 0.6001 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.4202, allocations: 1.512 MB / 0.6016 GB, free: 22.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.4219, allocations: 0.8257 MB / 0.6024 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.412e-05/0.422, allocations: 18.03 kB / 0.6024 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.422, allocations: 43.91 kB / 0.6025 GB, free: 21.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.422, allocations: 3.938 kB / 0.6025 GB, free: 21.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03146/0.4535, allocations: 8.495 MB / 0.6108 GB, free: 20.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.4536, allocations: 95.44 kB / 0.6109 GB, free: 20.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.4555, allocations: 0.9468 MB / 0.6118 GB, free: 20 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.4558, allocations: 41.36 kB / 0.6118 GB, free: 19.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.4561, allocations: 481.8 kB / 0.6123 GB, free: 19.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.4565, allocations: 322.6 kB / 0.6126 GB, free: 19.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.4567, allocations: 102.5 kB / 0.6127 GB, free: 19.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.4568, allocations: 345.4 kB / 0.613 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4585, allocations: 0.7758 MB / 0.6138 GB, free: 18.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.4603, allocations: 0.8954 MB / 0.6146 GB, free: 18.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/0.4806, allocations: 5.204 MB / 0.6197 GB, free: 15.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4807, allocations: 3.938 kB / 0.6197 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01441/0.4951, allocations: 5.167 MB / 0.6248 GB, free: 10.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.4952, allocations: 159.4 kB / 0.6249 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.4953, allocations: 4 kB / 0.6249 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006263/0.5015, allocations: 2.096 MB / 0.627 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5026, allocations: 199.7 kB / 0.6272 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/0.5231, allocations: 9.583 MB / 0.6365 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.5251, allocations: 222.9 kB / 0.6367 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.5252, allocations: 39.98 kB / 0.6368 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5253, allocations: 4 kB / 0.6368 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01514/0.5404, allocations: 5.003 MB / 0.6417 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.5405, allocations: 4 kB / 0.6417 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007087/0.5476, allocations: 2.104 MB / 0.6437 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5486, allocations: 187.8 kB / 0.6439 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/0.5712, allocations: 9.556 MB / 0.6532 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.5729, allocations: 203.1 kB / 0.6534 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.5731, allocations: 39.98 kB / 0.6535 GB, free: 13.04 MB / 462.1 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.000733/0.5738, allocations: 325.9 kB / 0.6538 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.5741, allocations: 118.5 kB / 0.6539 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/0.5892, allocations: 4.873 MB / 0.6587 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.5893, allocations: 12 kB / 0.6587 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.5893, allocations: 0 / 0.6587 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.5893, allocations: 3.984 kB / 0.6587 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.6072, allocations: 6.45 MB / 0.665 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.6073, allocations: 4 kB / 0.665 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.6081, allocations: 111.8 kB / 0.6651 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006683/0.6148, allocations: 2.053 MB / 0.6671 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/0.6151, allocations: 19.98 kB / 0.6671 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.6345, allocations: 8.219 MB / 0.6751 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6345, allocations: 0 / 0.6751 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/0.6517, allocations: 5.849 MB / 0.6808 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6523, allocations: 211.4 kB / 0.681 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.6525, allocations: 16 kB / 0.6811 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.6537, allocations: 151.9 kB / 0.6812 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006677/0.6544, allocations: 200.7 kB / 0.6814 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.6545, allocations: 27.98 kB / 0.6814 GB, free: 72 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.6555, allocations: 0.647 MB / 0.6821 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6555, allocations: 0 / 0.6821 GB, free: 15.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002375/0.6579, allocations: 0.6905 MB / 0.6827 GB, free: 14.72 MB / 494.1 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.0003977/0.6583, allocations: 129 kB / 0.6829 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0131/0.6714, allocations: 4.642 MB / 0.6874 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.6715, allocations: 4.062 kB / 0.6874 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005398/0.6769, allocations: 1.739 MB / 0.6891 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.6782, allocations: 104.4 kB / 0.6892 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.6824, allocations: 2.553 MB / 0.6917 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.6832, allocations: 1.109 MB / 0.6928 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005444/0.6837, allocations: 118.8 kB / 0.6929 GB, free: 4.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.6839, allocations: 63.42 kB / 0.6929 GB, free: 4.164 MB / 494.1 MB Notification: Performance of SimCode: time 1.163e-06/0.6839, allocations: 0 / 0.6929 GB, free: 4.164 MB / 494.1 MB Notification: Performance of Templates: time 0.04907/0.733, allocations: 28.17 MB / 0.7204 GB, free: 8.031 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)