Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001406/0.001406, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.361/1.361, allocations: 223.3 MB / 239.8 MB, free: 1.734 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 96.28 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.459/0.459, allocations: 78.62 MB / 420.7 MB, free: 44.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 12 kB / 0.4888 GB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4046, allocations: 69.34 MB / 0.5565 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006145/0.4108, allocations: 5.598 MB / 0.562 GB, free: 37.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.4152, allocations: 1.801 MB / 0.5637 GB, free: 36.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.4162, allocations: 14.81 kB / 0.5637 GB, free: 36.58 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.4168, allocations: 150.3 kB / 0.5639 GB, free: 36.51 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.4186, allocations: 0.5803 MB / 0.5645 GB, free: 36.12 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.4202, allocations: 0.5321 MB / 0.565 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.4221, allocations: 1.224 MB / 0.5662 GB, free: 35.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.4226, allocations: 233.8 kB / 0.5664 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.4235, allocations: 490.1 kB / 0.5669 GB, free: 34.9 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.4243, allocations: 0.6067 MB / 0.5675 GB, free: 34.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.4245, allocations: 51.47 kB / 0.5675 GB, free: 34.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.425, allocations: 170 kB / 0.5677 GB, free: 34.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.4252, allocations: 216 kB / 0.5679 GB, free: 34.47 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.4254, allocations: 203.9 kB / 0.5681 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.4265, allocations: 1.073 MB / 0.5691 GB, free: 34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4266, allocations: 0 / 0.5691 GB, free: 34 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.4266, allocations: 0 / 0.5691 GB, free: 34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4266, allocations: 3.938 kB / 0.5691 GB, free: 34 MB / 426.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.007112/0.4337, allocations: 2.286 MB / 0.5714 GB, free: 33.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4338, allocations: 8.812 kB / 0.5714 GB, free: 33.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.4391, allocations: 0.7805 MB / 0.5721 GB, free: 32.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.4408, allocations: 0.6998 MB / 0.5728 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.4411, allocations: 270.9 kB / 0.5731 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.4412, allocations: 74.94 kB / 0.5731 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.4437, allocations: 1.166 MB / 0.5743 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.4437, allocations: 0 / 0.5743 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4438, allocations: 25.91 kB / 0.5743 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4439, allocations: 21.11 kB / 0.5743 GB, free: 31.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.4463, allocations: 1.111 MB / 0.5754 GB, free: 31.36 MB / 426.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.006927/0.4533, allocations: 3.587 MB / 0.5789 GB, free: 29.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.4559, allocations: 1.553 MB / 0.5804 GB, free: 28.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.4573, allocations: 0.8125 MB / 0.5812 GB, free: 28.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-05/0.4574, allocations: 13.62 kB / 0.5812 GB, free: 28.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4574, allocations: 50.42 kB / 0.5813 GB, free: 28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.705e-06/0.4575, allocations: 0 / 0.5813 GB, free: 28 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02607/0.4835, allocations: 7.944 MB / 0.589 GB, free: 26.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.4836, allocations: 88.62 kB / 0.5891 GB, free: 26.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.4848, allocations: 0.815 MB / 0.5899 GB, free: 26.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.4852, allocations: 40.98 kB / 0.59 GB, free: 26.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.4855, allocations: 455.2 kB / 0.5904 GB, free: 25.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.4859, allocations: 325.1 kB / 0.5907 GB, free: 25.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.486, allocations: 24.5 kB / 0.5907 GB, free: 25.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.486, allocations: 348 kB / 0.5911 GB, free: 25.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.4878, allocations: 0.7646 MB / 0.5918 GB, free: 24.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.4895, allocations: 0.914 MB / 0.5927 GB, free: 24.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.4912, allocations: 0.8181 MB / 0.5935 GB, free: 24.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4912, allocations: 0 / 0.5935 GB, free: 24.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01584/0.5071, allocations: 5.124 MB / 0.5985 GB, free: 23.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.5073, allocations: 163.4 kB / 0.5987 GB, free: 22.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.5073, allocations: 10.05 kB / 0.5987 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007511/0.5148, allocations: 2.11 MB / 0.6007 GB, free: 22.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.516, allocations: 202.6 kB / 0.6009 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/0.5395, allocations: 9.56 MB / 0.6103 GB, free: 18.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.5413, allocations: 208.8 kB / 0.6105 GB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/0.5414, allocations: 35.14 kB / 0.6105 GB, free: 17.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5414, allocations: 4 kB / 0.6105 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01368/0.5551, allocations: 4.977 MB / 0.6153 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.5552, allocations: 4 kB / 0.6154 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006202/0.5614, allocations: 2.104 MB / 0.6174 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.5624, allocations: 191.7 kB / 0.6176 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.5815, allocations: 9.557 MB / 0.6269 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.5833, allocations: 187.1 kB / 0.6271 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.5835, allocations: 43.98 kB / 0.6271 GB, free: 1.383 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007481/0.5842, allocations: 304.9 kB / 0.6274 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.5845, allocations: 106.7 kB / 0.6275 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/0.5991, allocations: 4.836 MB / 0.6323 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.5991, allocations: 8 kB / 0.6323 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5991, allocations: 0 / 0.6323 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.5992, allocations: 3.984 kB / 0.6323 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/0.6168, allocations: 6.536 MB / 0.6387 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.6168, allocations: 4 kB / 0.6387 GB, free: 5.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/0.6176, allocations: 115.9 kB / 0.6388 GB, free: 5.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006566/0.6242, allocations: 2.049 MB / 0.6408 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.6244, allocations: 20 kB / 0.6408 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/0.643, allocations: 8.214 MB / 0.6488 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.643, allocations: 4 kB / 0.6488 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/0.6598, allocations: 5.805 MB / 0.6545 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.6604, allocations: 199.5 kB / 0.6547 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6606, allocations: 19.94 kB / 0.6547 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6618, allocations: 143.9 kB / 0.6548 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/0.6624, allocations: 200.6 kB / 0.655 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.6625, allocations: 20 kB / 0.655 GB, free: 4.449 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007742/0.6633, allocations: 0.5549 MB / 0.6556 GB, free: 3.883 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6633, allocations: 0 / 0.6556 GB, free: 3.883 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002249/0.6655, allocations: 0.6827 MB / 0.6562 GB, free: 3.199 MB / 458.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/0.6659, allocations: 135 kB / 0.6564 GB, free: 3.059 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01253/0.6784, allocations: 4.629 MB / 0.6609 GB, free: 14.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.6785, allocations: 0 / 0.6609 GB, free: 14.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005155/0.6836, allocations: 1.736 MB / 0.6626 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6847, allocations: 91.38 kB / 0.6627 GB, free: 12.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.6889, allocations: 2.388 MB / 0.665 GB, free: 10.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.6897, allocations: 1.074 MB / 0.6661 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.69, allocations: 67.42 kB / 0.6661 GB, free: 8.973 MB / 474.7 MB Notification: Performance of SimCode: time 1.263e-06/0.69, allocations: 0 / 0.6661 GB, free: 8.973 MB / 474.7 MB Notification: Performance of Templates: time 0.02809/0.7181, allocations: 19.99 MB / 0.6856 GB, free: 4.965 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)