Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005977/0.005977, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.33/1.33, allocations: 222.9 MB / 239.5 MB, free: 4.793 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.001563/0.001563, allocations: 196.4 kB / 289.8 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5509/0.5509, allocations: 91.9 MB / 431.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 75.89 kB / 0.5019 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3388, allocations: 71.26 MB / 0.5714 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.006133/0.345, allocations: 6.49 MB / 0.5778 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.3486, allocations: 1.946 MB / 0.5797 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.3496, allocations: 11.03 kB / 0.5797 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.3502, allocations: 163.8 kB / 0.5798 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.3519, allocations: 0.631 MB / 0.5805 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3531, allocations: 0.5952 MB / 0.581 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.3542, allocations: 1.286 MB / 0.5823 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.3546, allocations: 258.3 kB / 0.5825 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004851/0.3551, allocations: 0.5131 MB / 0.583 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.3556, allocations: 0.6546 MB / 0.5837 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3557, allocations: 63.16 kB / 0.5837 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.3561, allocations: 196.1 kB / 0.5839 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3563, allocations: 227.9 kB / 0.5842 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.3566, allocations: 0.5502 MB / 0.5847 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.3574, allocations: 1.084 MB / 0.5857 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3574, allocations: 0 / 0.5857 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3574, allocations: 0 / 0.5857 GB, free: 28.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3574, allocations: 4 kB / 0.5858 GB, free: 28.59 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00724/0.3647, allocations: 2.439 MB / 0.5881 GB, free: 27.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3647, allocations: 9.375 kB / 0.5881 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/0.3696, allocations: 0.77 MB / 0.5889 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3707, allocations: 0.7388 MB / 0.5896 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.3709, allocations: 256.2 kB / 0.5899 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3711, allocations: 76.88 kB / 0.5899 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.3732, allocations: 1.103 MB / 0.591 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.3733, allocations: 0 / 0.591 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.3734, allocations: 25.72 kB / 0.591 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3734, allocations: 21.62 kB / 0.5911 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.3755, allocations: 1.02 MB / 0.5921 GB, free: 25.78 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.006159/0.3817, allocations: 3.507 MB / 0.5955 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.3839, allocations: 1.422 MB / 0.5969 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.3854, allocations: 0.7445 MB / 0.5976 GB, free: 22.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.3855, allocations: 26.31 kB / 0.5976 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3856, allocations: 39.53 kB / 0.5977 GB, free: 22.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.196e-06/0.3856, allocations: 0 / 0.5977 GB, free: 22.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02842/0.414, allocations: 6.9 MB / 0.6044 GB, free: 21.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.4141, allocations: 87.52 kB / 0.6045 GB, free: 21.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.4154, allocations: 0.8248 MB / 0.6053 GB, free: 20.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.4156, allocations: 41.3 kB / 0.6053 GB, free: 20.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.4159, allocations: 448.8 kB / 0.6057 GB, free: 20.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.4162, allocations: 324.5 kB / 0.6061 GB, free: 20.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004789/0.4167, allocations: 206.6 kB / 0.6063 GB, free: 20.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.4168, allocations: 345.6 kB / 0.6066 GB, free: 19.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.4183, allocations: 0.7105 MB / 0.6073 GB, free: 19.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.42, allocations: 0.8401 MB / 0.6081 GB, free: 19.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.4231, allocations: 1.52 MB / 0.6096 GB, free: 18.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4231, allocations: 0 / 0.6096 GB, free: 18.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0141/0.4372, allocations: 4.225 MB / 0.6137 GB, free: 17.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.4373, allocations: 6.438 kB / 0.6137 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.4373, allocations: 14.17 kB / 0.6137 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/0.4437, allocations: 1.778 MB / 0.6155 GB, free: 16.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.4448, allocations: 200.7 kB / 0.6157 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/0.4638, allocations: 8.564 MB / 0.624 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4655, allocations: 174.8 kB / 0.6242 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.4657, allocations: 39.98 kB / 0.6242 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00175/0.4674, allocations: 0.8578 MB / 0.6251 GB, free: 7.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001439/0.4689, allocations: 0.8276 MB / 0.6259 GB, free: 6.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00258/0.4715, allocations: 1.494 MB / 0.6273 GB, free: 4.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/0.4715, allocations: 0 / 0.6273 GB, free: 4.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01212/0.4836, allocations: 4.21 MB / 0.6314 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4837, allocations: 4 kB / 0.6314 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4837, allocations: 4 kB / 0.6315 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006043/0.4897, allocations: 1.788 MB / 0.6332 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4908, allocations: 191.7 kB / 0.6334 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/0.5108, allocations: 8.56 MB / 0.6417 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.5124, allocations: 155.1 kB / 0.6419 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.5126, allocations: 39.98 kB / 0.6419 GB, free: 5.836 MB / 446.1 MB 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 (110): * Single equations (assignments): 109 * 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.0004256/0.513, allocations: 232.9 kB / 0.6421 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.5135, allocations: 110.7 kB / 0.6423 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.5262, allocations: 3.904 MB / 0.6461 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.5263, allocations: 8 kB / 0.6461 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5263, allocations: 0 / 0.6461 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.5263, allocations: 7.984 kB / 0.6461 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.5416, allocations: 5.54 MB / 0.6515 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5416, allocations: 0 / 0.6515 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.5424, allocations: 111.9 kB / 0.6516 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005753/0.5481, allocations: 1.749 MB / 0.6533 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/0.5484, allocations: 16 kB / 0.6533 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.5658, allocations: 7.339 MB / 0.6605 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.5659, allocations: 0 / 0.6605 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.5808, allocations: 4.868 MB / 0.6652 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/0.5813, allocations: 195.5 kB / 0.6654 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003938/0.5817, allocations: 16 kB / 0.6654 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.5829, allocations: 99.88 kB / 0.6655 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007279/0.5837, allocations: 212.4 kB / 0.6657 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.5838, allocations: 23.98 kB / 0.6658 GB, free: 13.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008585/0.5847, allocations: 0.5471 MB / 0.6663 GB, free: 12.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.5847, allocations: 4 kB / 0.6663 GB, free: 12.51 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002588/0.5873, allocations: 0.6866 MB / 0.667 GB, free: 11.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * Single equations (assignments): 56 * 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.0003344/0.5876, allocations: 133.5 kB / 0.6671 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01163/0.5993, allocations: 4.099 MB / 0.6711 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5993, allocations: 3.938 kB / 0.6711 GB, free: 7.559 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004673/0.604, allocations: 1.512 MB / 0.6726 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.6053, allocations: 96.2 kB / 0.6727 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.6102, allocations: 2.467 MB / 0.6751 GB, free: 3.441 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007303/0.611, allocations: 1.082 MB / 0.6761 GB, free: 2.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.6114, allocations: 67.42 kB / 0.6762 GB, free: 2.266 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6114, allocations: 0 / 0.6762 GB, free: 2.266 MB / 478.1 MB Notification: Performance of Templates: time 0.02827/0.6397, allocations: 20.13 MB / 0.6959 GB, free: 14.12 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)