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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000992/0.000992, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.276/1.276, allocations: 222.9 MB / 240 MB, free: 4.504 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.001225/0.001225, allocations: 192.4 kB / 290.3 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5002/0.5002, allocations: 91.91 MB / 432.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.88 kB / 0.5033 GB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3227, allocations: 71.26 MB / 0.5729 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.004977/0.3277, allocations: 6.103 MB / 0.5788 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3306, allocations: 1.859 MB / 0.5807 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.331, allocations: 12.34 kB / 0.5807 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.3315, allocations: 214.7 kB / 0.5809 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3328, allocations: 0.692 MB / 0.5815 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3339, allocations: 0.6289 MB / 0.5822 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009823/0.3349, allocations: 1.35 MB / 0.5835 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.3352, allocations: 296.2 kB / 0.5838 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008193/0.336, allocations: 0.5615 MB / 0.5843 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.3368, allocations: 0.6864 MB / 0.585 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.337, allocations: 97.62 kB / 0.5851 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.3375, allocations: 236.6 kB / 0.5853 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.3377, allocations: 268.7 kB / 0.5856 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.3382, allocations: 0.581 MB / 0.5861 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.3397, allocations: 1.456 MB / 0.5875 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3397, allocations: 1.75 kB / 0.5875 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3397, allocations: 0 / 0.5875 GB, free: 28.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.3397, allocations: 0 / 0.5875 GB, free: 28.49 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007219/0.3469, allocations: 2.436 MB / 0.5899 GB, free: 27.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.347, allocations: 9.531 kB / 0.5899 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.3517, allocations: 0.7761 MB / 0.5907 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.3529, allocations: 0.7422 MB / 0.5914 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.3532, allocations: 255.8 kB / 0.5917 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.3534, allocations: 80.44 kB / 0.5917 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.3555, allocations: 1.087 MB / 0.5928 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3556, allocations: 0 / 0.5928 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/0.3557, allocations: 30 kB / 0.5928 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.3557, allocations: 17.84 kB / 0.5928 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.3579, allocations: 1.026 MB / 0.5938 GB, free: 25.7 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.006185/0.364, allocations: 3.497 MB / 0.5973 GB, free: 23.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.3665, allocations: 1.447 MB / 0.5987 GB, free: 22.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.3679, allocations: 0.7377 MB / 0.5994 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.368, allocations: 15.09 kB / 0.5994 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.368, allocations: 43.28 kB / 0.5994 GB, free: 22.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.686e-06/0.368, allocations: 0 / 0.5994 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02405/0.3921, allocations: 6.437 MB / 0.6057 GB, free: 21.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.3922, allocations: 91.11 kB / 0.6058 GB, free: 21.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3934, allocations: 0.8315 MB / 0.6066 GB, free: 20.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.3935, allocations: 41.17 kB / 0.6067 GB, free: 20.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.3938, allocations: 450.5 kB / 0.6071 GB, free: 20.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3941, allocations: 322.5 kB / 0.6074 GB, free: 20.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.3944, allocations: 195.5 kB / 0.6076 GB, free: 19.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.3945, allocations: 348.9 kB / 0.6079 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.396, allocations: 0.7082 MB / 0.6086 GB, free: 19.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.3974, allocations: 0.833 MB / 0.6094 GB, free: 18.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/0.4002, allocations: 1.506 MB / 0.6109 GB, free: 18.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4002, allocations: 0.8125 kB / 0.6109 GB, free: 18.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01295/0.4131, allocations: 4.223 MB / 0.615 GB, free: 17.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.4132, allocations: 6.688 kB / 0.615 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.4132, allocations: 2.344 kB / 0.615 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005768/0.419, allocations: 1.789 MB / 0.6168 GB, free: 16.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.42, allocations: 197 kB / 0.617 GB, free: 16.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.4376, allocations: 9.316 MB / 0.6261 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.439, allocations: 171 kB / 0.6262 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.4391, allocations: 35.98 kB / 0.6263 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001447/0.4406, allocations: 0.85 MB / 0.6271 GB, free: 6.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001231/0.4418, allocations: 0.8197 MB / 0.6279 GB, free: 5.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002329/0.4441, allocations: 1.479 MB / 0.6293 GB, free: 3.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.4442, allocations: 0 / 0.6293 GB, free: 3.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01145/0.4556, allocations: 4.202 MB / 0.6334 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4556, allocations: 8 kB / 0.6335 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4557, allocations: 0 / 0.6335 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005698/0.4614, allocations: 1.792 MB / 0.6352 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008346/0.4622, allocations: 183.7 kB / 0.6354 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/0.4823, allocations: 9.312 MB / 0.6445 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.4839, allocations: 159 kB / 0.6446 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.484, allocations: 36 kB / 0.6447 GB, free: 4.062 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 (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.0003845/0.4844, allocations: 236.9 kB / 0.6449 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.4847, allocations: 110.7 kB / 0.645 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.4967, allocations: 3.908 MB / 0.6488 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.4967, allocations: 11.94 kB / 0.6488 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4967, allocations: 4 kB / 0.6488 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.4967, allocations: 7.922 kB / 0.6488 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.5106, allocations: 5.609 MB / 0.6543 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5106, allocations: 8.062 kB / 0.6543 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.5113, allocations: 103.9 kB / 0.6544 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005444/0.5167, allocations: 1.741 MB / 0.6561 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.5168, allocations: 20 kB / 0.6561 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.5338, allocations: 8.08 MB / 0.664 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5338, allocations: 0 / 0.664 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.5472, allocations: 4.818 MB / 0.6687 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.5477, allocations: 199.6 kB / 0.6689 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.5478, allocations: 23.98 kB / 0.6689 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.5488, allocations: 95.89 kB / 0.669 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006322/0.5494, allocations: 212.6 kB / 0.6692 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.5495, allocations: 20 kB / 0.6693 GB, free: 10.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006925/0.5502, allocations: 0.5589 MB / 0.6698 GB, free: 9.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5502, allocations: 0 / 0.6698 GB, free: 9.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001731/0.5519, allocations: 0.6827 MB / 0.6705 GB, free: 9.246 MB / 478.1 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.0002397/0.5522, allocations: 131.8 kB / 0.6706 GB, free: 9.109 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01084/0.563, allocations: 4.188 MB / 0.6747 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5631, allocations: 0 / 0.6747 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004354/0.5674, allocations: 1.557 MB / 0.6762 GB, free: 3.328 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.5683, allocations: 93.45 kB / 0.6763 GB, free: 3.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.572, allocations: 1.987 MB / 0.6782 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.5726, allocations: 1.077 MB / 0.6793 GB, free: 116 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.573, allocations: 106.7 kB / 0.6794 GB, free: 4 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.5732, allocations: 63.5 kB / 0.6794 GB, free: 15.94 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5733, allocations: 0 / 0.6794 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Templates: time 0.04272/0.616, allocations: 31.39 MB / 0.7101 GB, free: 0.5859 MB / 0.4981 GB 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)