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.001338/0.001338, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.345/1.345, allocations: 222.9 MB / 240 MB, free: 4.422 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.001269/0.001269, allocations: 192.1 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4993/0.4993, allocations: 91.91 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 75.89 kB / 0.5033 GB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3308, 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.004923/0.3357, allocations: 6.106 MB / 0.5788 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.3383, allocations: 1.862 MB / 0.5807 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.3387, allocations: 8.469 kB / 0.5807 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.3391, allocations: 217.4 kB / 0.5809 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.3404, allocations: 0.6916 MB / 0.5816 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3415, allocations: 0.6293 MB / 0.5822 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009697/0.3424, allocations: 1.352 MB / 0.5835 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.3428, allocations: 291.2 kB / 0.5838 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.3433, allocations: 0.563 MB / 0.5843 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.3438, allocations: 0.687 MB / 0.585 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3439, allocations: 98.09 kB / 0.5851 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.3443, allocations: 233.3 kB / 0.5853 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.3444, allocations: 268.5 kB / 0.5856 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.3448, allocations: 0.5813 MB / 0.5861 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.3457, allocations: 1.454 MB / 0.5875 GB, free: 28.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3458, allocations: 0 / 0.5875 GB, free: 28.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3458, allocations: 0 / 0.5875 GB, free: 28.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3458, allocations: 0 / 0.5875 GB, free: 28.62 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.006953/0.3527, allocations: 2.45 MB / 0.5899 GB, free: 27.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3528, allocations: 10.44 kB / 0.59 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.3574, allocations: 0.766 MB / 0.5907 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3585, allocations: 0.7376 MB / 0.5914 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.3588, allocations: 255.8 kB / 0.5917 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.359, allocations: 81.62 kB / 0.5917 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.361, allocations: 1.087 MB / 0.5928 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.361, allocations: 3.984 kB / 0.5928 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.3611, allocations: 30.97 kB / 0.5928 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.3611, allocations: 24.69 kB / 0.5929 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.3632, allocations: 1.02 MB / 0.5939 GB, free: 25.81 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.005382/0.3685, allocations: 3.49 MB / 0.5973 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.3708, allocations: 1.445 MB / 0.5987 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3722, allocations: 0.7427 MB / 0.5994 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.3723, allocations: 12.39 kB / 0.5994 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3723, allocations: 47.34 kB / 0.5995 GB, free: 22.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.377e-06/0.3724, allocations: 4 kB / 0.5995 GB, free: 22.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02514/0.3975, allocations: 6.437 MB / 0.6057 GB, free: 21.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.3976, allocations: 87.23 kB / 0.6058 GB, free: 21.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.3991, allocations: 0.8317 MB / 0.6066 GB, free: 20.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.3994, allocations: 41.14 kB / 0.6067 GB, free: 20.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.3997, allocations: 449.8 kB / 0.6071 GB, free: 20.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.4001, allocations: 323.7 kB / 0.6074 GB, free: 20.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.4005, allocations: 194.9 kB / 0.6076 GB, free: 20.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4006, allocations: 353.3 kB / 0.6079 GB, free: 19.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.4022, allocations: 0.7097 MB / 0.6086 GB, free: 19.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4038, allocations: 0.8267 MB / 0.6094 GB, free: 19.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.407, allocations: 1.499 MB / 0.6109 GB, free: 18.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.407, allocations: 1.625 kB / 0.6109 GB, free: 18.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01406/0.4211, allocations: 4.227 MB / 0.615 GB, free: 17.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.4212, allocations: 5.969 kB / 0.615 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.4212, allocations: 2.5 kB / 0.615 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006255/0.4275, allocations: 1.794 MB / 0.6168 GB, free: 16.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4286, allocations: 191.7 kB / 0.617 GB, free: 16.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/0.447, allocations: 9.325 MB / 0.6261 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4485, allocations: 167 kB / 0.6262 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/0.4487, allocations: 39.98 kB / 0.6263 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00152/0.4502, allocations: 0.8461 MB / 0.6271 GB, free: 6.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001292/0.4515, allocations: 0.8198 MB / 0.6279 GB, free: 5.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002386/0.4539, allocations: 1.475 MB / 0.6293 GB, free: 3.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.077e-06/0.4539, allocations: 4 kB / 0.6294 GB, free: 3.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01184/0.4657, allocations: 4.202 MB / 0.6335 GB, free: 15.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4658, allocations: 11.94 kB / 0.6335 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4658, allocations: 0 / 0.6335 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006007/0.4718, allocations: 1.796 MB / 0.6352 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.4728, allocations: 183.7 kB / 0.6354 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.4947, allocations: 9.309 MB / 0.6445 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.4964, allocations: 155 kB / 0.6446 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/0.4968, allocations: 39.98 kB / 0.6447 GB, free: 4.133 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.0005307/0.4973, allocations: 233 kB / 0.6449 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/0.4978, allocations: 114.6 kB / 0.645 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.5104, allocations: 3.908 MB / 0.6488 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.5105, allocations: 11.94 kB / 0.6488 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5105, allocations: 0 / 0.6488 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/0.5105, allocations: 7.922 kB / 0.6488 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.5263, allocations: 5.609 MB / 0.6543 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.5264, allocations: 4 kB / 0.6543 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/0.5272, allocations: 107.8 kB / 0.6544 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005818/0.533, allocations: 1.741 MB / 0.6561 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/0.5333, allocations: 20 kB / 0.6561 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.5518, allocations: 8.084 MB / 0.664 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5518, allocations: 0 / 0.664 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.5662, allocations: 4.817 MB / 0.6687 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.5667, allocations: 191.6 kB / 0.6689 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/0.5671, allocations: 23.98 kB / 0.6689 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.5684, allocations: 95.89 kB / 0.669 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007725/0.5692, allocations: 208.6 kB / 0.6692 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.5694, allocations: 20 kB / 0.6693 GB, free: 10.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009027/0.5703, allocations: 0.5589 MB / 0.6698 GB, free: 10.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5703, allocations: 4 kB / 0.6698 GB, free: 10.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002871/0.5732, allocations: 0.6827 MB / 0.6705 GB, free: 9.324 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.0004344/0.5736, allocations: 131.8 kB / 0.6706 GB, free: 9.188 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01231/0.5859, allocations: 4.192 MB / 0.6747 GB, free: 4.969 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.586, allocations: 0 / 0.6747 GB, free: 4.969 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004821/0.5908, allocations: 1.558 MB / 0.6762 GB, free: 3.398 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.592, allocations: 83.42 kB / 0.6763 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.5964, allocations: 1.988 MB / 0.6782 GB, free: 1.297 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.5972, allocations: 1.077 MB / 0.6793 GB, free: 196 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005491/0.5977, allocations: 102.7 kB / 0.6794 GB, free: 88 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.598, allocations: 67.42 kB / 0.6794 GB, free: 20 kB / 478.1 MB Notification: Performance of SimCode: time 2.334e-06/0.598, allocations: 3.938 kB / 0.6795 GB, free: 16 kB / 478.1 MB Notification: Performance of Templates: time 0.04897/0.647, allocations: 31.4 MB / 0.7101 GB, free: 0.6523 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 gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)