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.0007964/0.0007963, allocations: 90.52 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.466/1.466, allocations: 223.3 MB / 239.4 MB, free: 5.43 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.00123/0.00123, allocations: 184.4 kB / 290.6 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5585/0.5585, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003883, allocations: 16 kB / 0.5048 GB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3745, allocations: 72.46 MB / 0.5755 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004429/0.3789, allocations: 6.039 MB / 0.5814 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.3823, allocations: 1.925 MB / 0.5833 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006286/0.383, allocations: 11.5 kB / 0.5833 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.3834, allocations: 160.5 kB / 0.5835 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.385, allocations: 0.6087 MB / 0.5841 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3863, allocations: 0.5929 MB / 0.5846 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.3878, allocations: 1.295 MB / 0.5859 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.3882, allocations: 254.2 kB / 0.5861 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.3889, allocations: 0.4931 MB / 0.5866 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.3895, allocations: 0.6281 MB / 0.5872 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.3896, allocations: 54.03 kB / 0.5873 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.3901, allocations: 183.9 kB / 0.5875 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3903, allocations: 216.4 kB / 0.5877 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.3906, allocations: 0.5545 MB / 0.5882 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3917, allocations: 1.361 MB / 0.5895 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3917, allocations: 0 / 0.5895 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3917, allocations: 2.156 kB / 0.5895 GB, free: 28.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3917, allocations: 0.6875 kB / 0.5895 GB, free: 28.18 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.007247/0.399, allocations: 2.274 MB / 0.5918 GB, free: 27.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.399, allocations: 10.09 kB / 0.5918 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.4041, allocations: 0.7732 MB / 0.5925 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.4052, allocations: 0.7425 MB / 0.5933 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.4055, allocations: 263.3 kB / 0.5935 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.4056, allocations: 81.53 kB / 0.5936 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.408, allocations: 1.173 MB / 0.5947 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.408, allocations: 1.094 kB / 0.5947 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.4081, allocations: 26.25 kB / 0.5948 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4081, allocations: 16.66 kB / 0.5948 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.4104, allocations: 1.126 MB / 0.5959 GB, free: 25.49 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.006108/0.4166, allocations: 3.568 MB / 0.5994 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.4191, allocations: 1.538 MB / 0.6009 GB, free: 22.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4208, allocations: 0.8209 MB / 0.6017 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.913e-05/0.4209, allocations: 21.36 kB / 0.6017 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4209, allocations: 38.91 kB / 0.6017 GB, free: 22.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.376e-06/0.4209, allocations: 1.062 kB / 0.6017 GB, free: 22.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03067/0.4516, allocations: 8.55 MB / 0.6101 GB, free: 20.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4517, allocations: 87 kB / 0.6101 GB, free: 20.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.453, allocations: 0.823 MB / 0.611 GB, free: 20.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.4532, allocations: 41.3 kB / 0.611 GB, free: 20.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.4536, allocations: 454.8 kB / 0.6114 GB, free: 19.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.4539, allocations: 319.9 kB / 0.6117 GB, free: 19.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.4541, allocations: 103.5 kB / 0.6118 GB, free: 19.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.4542, allocations: 346.1 kB / 0.6122 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.456, allocations: 0.785 MB / 0.6129 GB, free: 19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.4579, allocations: 0.9207 MB / 0.6138 GB, free: 18.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.4613, allocations: 1.672 MB / 0.6155 GB, free: 17.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.557e-06/0.4614, allocations: 0 / 0.6155 GB, free: 17.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01501/0.4764, allocations: 5.163 MB / 0.6205 GB, free: 15.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.4765, allocations: 158 kB / 0.6207 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.4766, allocations: 8 kB / 0.6207 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/0.483, allocations: 2.096 MB / 0.6227 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4841, allocations: 207.7 kB / 0.6229 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.5039, allocations: 9.555 MB / 0.6322 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5056, allocations: 211 kB / 0.6324 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5057, allocations: 35.98 kB / 0.6325 GB, free: 2.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5057, allocations: 4 kB / 0.6325 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01482/0.5206, allocations: 5.007 MB / 0.6374 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.5206, allocations: 4 kB / 0.6374 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007242/0.5279, allocations: 2.1 MB / 0.6394 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.529, allocations: 207.6 kB / 0.6396 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/0.5523, allocations: 9.533 MB / 0.6489 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.5539, allocations: 187.1 kB / 0.6491 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.5542, allocations: 40 kB / 0.6491 GB, free: 1.48 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.0007104/0.5549, allocations: 304.9 kB / 0.6494 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.5552, allocations: 110.7 kB / 0.6495 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.5706, allocations: 4.826 MB / 0.6543 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.5707, allocations: 11.94 kB / 0.6543 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5707, allocations: 0 / 0.6543 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/0.5707, allocations: 7.984 kB / 0.6543 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.5891, allocations: 6.466 MB / 0.6606 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.5891, allocations: 0 / 0.6606 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.5898, allocations: 111.9 kB / 0.6607 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006813/0.5967, allocations: 2.065 MB / 0.6627 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.5968, allocations: 19.94 kB / 0.6627 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/0.6166, allocations: 8.211 MB / 0.6707 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6167, allocations: 0 / 0.6707 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/0.6344, allocations: 5.86 MB / 0.6765 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.635, allocations: 203.5 kB / 0.6767 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/0.6355, allocations: 20 kB / 0.6767 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.637, allocations: 135.9 kB / 0.6768 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007648/0.6378, allocations: 208.4 kB / 0.677 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.6379, allocations: 23.94 kB / 0.677 GB, free: 4.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008793/0.6388, allocations: 0.5511 MB / 0.6776 GB, free: 4.004 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6388, allocations: 0 / 0.6776 GB, free: 4.004 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002435/0.6413, allocations: 0.6866 MB / 0.6782 GB, free: 3.316 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.000328/0.6416, allocations: 133.6 kB / 0.6784 GB, free: 3.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01344/0.6551, allocations: 4.65 MB / 0.6829 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.6551, allocations: 0 / 0.6829 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005404/0.6605, allocations: 1.752 MB / 0.6846 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.6619, allocations: 88.84 kB / 0.6847 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.6662, allocations: 2.525 MB / 0.6872 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.667, allocations: 1.074 MB / 0.6882 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.6675, allocations: 106.7 kB / 0.6883 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.6678, allocations: 63.36 kB / 0.6884 GB, free: 8.809 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6678, allocations: 4 kB / 0.6884 GB, free: 8.805 MB / 494.1 MB Notification: Performance of Templates: time 0.04558/0.7134, allocations: 27.87 MB / 0.7156 GB, free: 12.98 MB / 0.5137 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)