Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.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_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 181.1 kB / 15.98 MB, free: 5.77 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.25/1.25, allocations: 222.9 MB / 239.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001011, allocations: 107.1 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4148/0.4148, allocations: 78.48 MB / 418.5 MB, free: 8.797 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 497.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2737, allocations: 68.13 MB / 0.5523 GB, free: 20.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.004932/0.2787, allocations: 6.414 MB / 0.5586 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.2817, allocations: 1.911 MB / 0.5604 GB, free: 11.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.2823, allocations: 11.94 kB / 0.5604 GB, free: 11.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.2827, allocations: 166.9 kB / 0.5606 GB, free: 11.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.2839, allocations: 0.6255 MB / 0.5612 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.285, allocations: 0.5787 MB / 0.5618 GB, free: 10.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008369/0.2858, allocations: 1.311 MB / 0.5631 GB, free: 9.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.2861, allocations: 261.8 kB / 0.5633 GB, free: 8.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.2866, allocations: 0.5171 MB / 0.5638 GB, free: 8.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.287, allocations: 0.6571 MB / 0.5645 GB, free: 7.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.2871, allocations: 63.94 kB / 0.5645 GB, free: 7.695 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.2875, allocations: 187.9 kB / 0.5647 GB, free: 7.512 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2876, allocations: 238.8 kB / 0.5649 GB, free: 7.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.288, allocations: 0.5435 MB / 0.5655 GB, free: 6.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008365/0.2888, allocations: 1.397 MB / 0.5668 GB, free: 5.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2888, allocations: 0 / 0.5668 GB, free: 5.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2888, allocations: 0 / 0.5668 GB, free: 5.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.2888, allocations: 0 / 0.5668 GB, free: 5.328 MB / 378.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.006941/0.2958, allocations: 2.448 MB / 0.5692 GB, free: 2.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2958, allocations: 8.031 kB / 0.5692 GB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.3002, allocations: 0.7633 MB / 0.57 GB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.3012, allocations: 0.7399 MB / 0.5707 GB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.3014, allocations: 252.2 kB / 0.5709 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.3015, allocations: 79.91 kB / 0.571 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.3035, allocations: 1.09 MB / 0.5721 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3035, allocations: 3.938 kB / 0.5721 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.3036, allocations: 36 kB / 0.5721 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3036, allocations: 16 kB / 0.5721 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.3058, allocations: 1.031 MB / 0.5731 GB, free: 14.72 MB / 394.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.005615/0.3115, allocations: 3.519 MB / 0.5766 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.3139, allocations: 1.436 MB / 0.578 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.3154, allocations: 0.7417 MB / 0.5787 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.3155, allocations: 16.97 kB / 0.5787 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3156, allocations: 47.56 kB / 0.5788 GB, free: 8.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=89): time 3.035e-06/0.3156, allocations: 0 / 0.5788 GB, free: 8.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=89): time 0.02631/0.3419, allocations: 6.434 MB / 0.585 GB, free: 2.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.342, allocations: 90.11 kB / 0.5851 GB, free: 2.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3431, allocations: 0.828 MB / 0.5859 GB, free: 1.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3432, allocations: 41.7 kB / 0.586 GB, free: 1.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.3435, allocations: 452.6 kB / 0.5864 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.3438, allocations: 319.4 kB / 0.5867 GB, free: 436 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.3442, allocations: 194.8 kB / 0.5869 GB, free: 236 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3443, allocations: 353.9 kB / 0.5872 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.346, allocations: 0.7048 MB / 0.5879 GB, free: 15.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.3476, allocations: 0.8392 MB / 0.5887 GB, free: 14.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/0.3508, allocations: 1.498 MB / 0.5902 GB, free: 12.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.3508, allocations: 4 kB / 0.5902 GB, free: 12.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01441/0.3652, allocations: 4.222 MB / 0.5943 GB, free: 8.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3652, allocations: 4.781 kB / 0.5943 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3653, allocations: 7.938 kB / 0.5943 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006541/0.3718, allocations: 1.784 MB / 0.5961 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.3728, allocations: 187.7 kB / 0.5963 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/0.3935, allocations: 8.594 MB / 0.6047 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.3951, allocations: 167 kB / 0.6048 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3952, allocations: 36 kB / 0.6048 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001774/0.397, allocations: 0.8538 MB / 0.6057 GB, free: 12.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001559/0.3986, allocations: 0.8197 MB / 0.6065 GB, free: 11.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003056/0.4017, allocations: 1.482 MB / 0.6079 GB, free: 10.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.4017, allocations: 0 / 0.6079 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01408/0.4158, allocations: 4.202 MB / 0.612 GB, free: 6.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4158, allocations: 4 kB / 0.612 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4158, allocations: 4 kB / 0.612 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006427/0.4222, allocations: 1.784 MB / 0.6138 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.4231, allocations: 191.7 kB / 0.614 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.4434, allocations: 8.575 MB / 0.6223 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.4449, allocations: 155 kB / 0.6225 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/0.445, allocations: 39.98 kB / 0.6225 GB, free: 11.28 MB / 442.7 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 (106): * Single equations (assignments): 105 * 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.0002742/0.4453, allocations: 232.1 kB / 0.6227 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.4455, allocations: 106.7 kB / 0.6228 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.4595, allocations: 3.919 MB / 0.6267 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4595, allocations: 12 kB / 0.6267 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4595, allocations: 0 / 0.6267 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4595, allocations: 7.984 kB / 0.6267 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.4751, allocations: 5.622 MB / 0.6322 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4752, allocations: 0 / 0.6322 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.4758, allocations: 103.9 kB / 0.6323 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006256/0.4821, allocations: 1.741 MB / 0.634 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.4822, allocations: 16 kB / 0.634 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.5002, allocations: 7.367 MB / 0.6412 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5003, allocations: 0 / 0.6412 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09365/0.5939, allocations: 31.82 MB / 0.6723 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.5942, allocations: 191.5 kB / 0.6724 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.5944, allocations: 20 kB / 0.6725 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5954, allocations: 99.83 kB / 0.6726 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006413/0.5961, allocations: 200.6 kB / 0.6728 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-05/0.5962, allocations: 24 kB / 0.6728 GB, free: 7.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006947/0.5969, allocations: 0.5589 MB / 0.6733 GB, free: 6.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5969, allocations: 4 kB / 0.6733 GB, free: 6.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002707/0.5996, allocations: 1.007 MB / 0.6743 GB, free: 5.559 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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.0002531/0.5999, allocations: 125.5 kB / 0.6744 GB, free: 5.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01212/0.612, allocations: 4.102 MB / 0.6784 GB, free: 1.297 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.612, allocations: 0 / 0.6784 GB, free: 1.297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2216/0.8336, allocations: 1.503 MB / 0.6799 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.8348, allocations: 93.8 kB / 0.68 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008742/0.8435, allocations: 3.659 MB / 0.6836 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/0.8444, allocations: 1.116 MB / 0.6847 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000706/0.8451, allocations: 106.7 kB / 0.6848 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.8454, allocations: 62.91 kB / 0.6848 GB, free: 114.6 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/0.8454, allocations: 0 / 0.6848 GB, free: 114.6 MB / 490.7 MB Notification: Performance of Templates: time 0.04696/0.8924, allocations: 38.93 MB / 0.7228 GB, free: 86.27 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)