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.0009163/0.0009164, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.402/1.402, allocations: 222.9 MB / 240 MB, free: 4.527 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.001292/0.001292, allocations: 196.4 kB / 290.3 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4962/0.4962, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 72.12 kB / 0.5033 GB, free: 6.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3385, allocations: 71.26 MB / 0.5729 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005574/0.3442, allocations: 6.135 MB / 0.5789 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.3473, allocations: 1.896 MB / 0.5807 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004377/0.3478, allocations: 10.31 kB / 0.5807 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.3482, allocations: 213.8 kB / 0.5809 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3496, allocations: 0.7012 MB / 0.5816 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3508, allocations: 0.6466 MB / 0.5822 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3519, allocations: 1.356 MB / 0.5836 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.3523, allocations: 286.7 kB / 0.5838 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.3528, allocations: 0.5616 MB / 0.5844 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005724/0.3534, allocations: 0.6907 MB / 0.5851 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.3536, allocations: 95.81 kB / 0.5852 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.3539, allocations: 237 kB / 0.5854 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3541, allocations: 263.8 kB / 0.5856 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.3544, allocations: 0.5839 MB / 0.5862 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3555, allocations: 1.451 MB / 0.5876 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3555, allocations: 0.9375 kB / 0.5876 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3555, allocations: 0 / 0.5876 GB, free: 28.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.3556, allocations: 0 / 0.5876 GB, free: 28.48 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.007086/0.3627, allocations: 2.44 MB / 0.59 GB, free: 27.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3627, allocations: 9.656 kB / 0.59 GB, free: 27.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.3674, allocations: 0.7635 MB / 0.5908 GB, free: 27.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.3686, allocations: 0.7462 MB / 0.5915 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.3688, allocations: 251.7 kB / 0.5917 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.369, allocations: 78.25 kB / 0.5918 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.371, allocations: 1.097 MB / 0.5929 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.371, allocations: 0 / 0.5929 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.3711, allocations: 26.03 kB / 0.5929 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.3711, allocations: 17.5 kB / 0.5929 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.3732, allocations: 1.028 MB / 0.5939 GB, free: 25.69 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.005734/0.3789, allocations: 3.481 MB / 0.5973 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.3811, allocations: 1.43 MB / 0.5987 GB, free: 22.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3824, allocations: 0.7485 MB / 0.5994 GB, free: 22.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.3825, allocations: 14.86 kB / 0.5995 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3826, allocations: 44.91 kB / 0.5995 GB, free: 22.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.735e-06/0.3826, allocations: 1.594 kB / 0.5995 GB, free: 22.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02621/0.4088, allocations: 6.897 MB / 0.6062 GB, free: 21.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.4089, allocations: 91.14 kB / 0.6063 GB, free: 21.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.4105, allocations: 0.8219 MB / 0.6071 GB, free: 20.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.4108, allocations: 45.98 kB / 0.6072 GB, free: 20.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.4112, allocations: 450.2 kB / 0.6076 GB, free: 20.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.4116, allocations: 323.7 kB / 0.6079 GB, free: 20.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005214/0.4121, allocations: 204.6 kB / 0.6081 GB, free: 19.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.4122, allocations: 354.4 kB / 0.6084 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.4138, allocations: 0.7084 MB / 0.6091 GB, free: 19.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4156, allocations: 0.8353 MB / 0.61 GB, free: 19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.4188, allocations: 1.517 MB / 0.6114 GB, free: 18.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.4188, allocations: 6 kB / 0.6114 GB, free: 18.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01371/0.4325, allocations: 4.219 MB / 0.6156 GB, free: 16.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4326, allocations: 10.41 kB / 0.6156 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.4326, allocations: 1.5 kB / 0.6156 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006367/0.439, allocations: 1.792 MB / 0.6173 GB, free: 16.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.4401, allocations: 196.5 kB / 0.6175 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.4594, allocations: 9.305 MB / 0.6266 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.4612, allocations: 174.8 kB / 0.6268 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.4615, allocations: 32 kB / 0.6268 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001956/0.4634, allocations: 0.8578 MB / 0.6276 GB, free: 5.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001411/0.4649, allocations: 0.8276 MB / 0.6284 GB, free: 4.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002562/0.4674, allocations: 1.502 MB / 0.6299 GB, free: 3.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.4675, allocations: 0 / 0.6299 GB, free: 3.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.0123/0.4798, allocations: 4.202 MB / 0.634 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4798, allocations: 8 kB / 0.634 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4798, allocations: 0 / 0.634 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006216/0.486, allocations: 1.784 MB / 0.6358 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.4871, allocations: 199.6 kB / 0.636 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/0.5086, allocations: 9.29 MB / 0.645 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.5103, allocations: 159.1 kB / 0.6452 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.5106, allocations: 35.98 kB / 0.6452 GB, free: 3.523 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.0004387/0.511, allocations: 237 kB / 0.6454 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.5114, allocations: 110.6 kB / 0.6455 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.5238, allocations: 3.9 MB / 0.6493 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.5239, allocations: 8 kB / 0.6494 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5239, allocations: 0 / 0.6494 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.5239, allocations: 3.984 kB / 0.6494 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.5387, allocations: 5.544 MB / 0.6548 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.5388, allocations: 0 / 0.6548 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.5394, allocations: 107.9 kB / 0.6549 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005655/0.5451, allocations: 1.749 MB / 0.6566 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.5452, allocations: 20 kB / 0.6566 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.5634, allocations: 8.056 MB / 0.6645 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5634, allocations: 4 kB / 0.6645 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.5778, allocations: 4.85 MB / 0.6692 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.5783, allocations: 199.5 kB / 0.6694 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/0.5786, allocations: 20 kB / 0.6694 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.5798, allocations: 91.89 kB / 0.6695 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007157/0.5805, allocations: 208.6 kB / 0.6697 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.5806, allocations: 24 kB / 0.6697 GB, free: 10.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008505/0.5815, allocations: 0.5549 MB / 0.6703 GB, free: 9.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5815, allocations: 0 / 0.6703 GB, free: 9.477 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002238/0.5837, allocations: 0.6906 MB / 0.6709 GB, free: 8.785 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.0002977/0.584, allocations: 132.6 kB / 0.6711 GB, free: 8.656 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01146/0.5955, allocations: 4.204 MB / 0.6752 GB, free: 4.426 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.5955, allocations: 0 / 0.6752 GB, free: 4.426 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004537/0.6001, allocations: 1.564 MB / 0.6767 GB, free: 2.852 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6011, allocations: 89.45 kB / 0.6768 GB, free: 2.762 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.6053, allocations: 2.031 MB / 0.6788 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.606, allocations: 1.077 MB / 0.6798 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.6065, allocations: 102.7 kB / 0.6799 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.6067, allocations: 67.42 kB / 0.68 GB, free: 15.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6067, allocations: 0 / 0.68 GB, free: 15.42 MB / 494.1 MB Notification: Performance of Templates: time 0.188/0.7948, allocations: 31.32 MB / 0.7106 GB, free: 144 kB / 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)