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.001136/0.001136, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.609 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.001516/0.001517, allocations: 196.4 kB / 290.2 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5651/0.5651, allocations: 91.9 MB / 432.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 79.88 kB / 0.5025 GB, free: 7.781 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4517, allocations: 71.27 MB / 0.5721 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005958/0.4577, allocations: 6.099 MB / 0.5781 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.4619, allocations: 1.864 MB / 0.5799 GB, free: 32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000944/0.4629, allocations: 14.56 kB / 0.5799 GB, free: 32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.4634, allocations: 208.1 kB / 0.5801 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.4654, allocations: 0.6871 MB / 0.5808 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.4667, allocations: 0.644 MB / 0.5814 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.4682, allocations: 1.34 MB / 0.5827 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.4686, allocations: 289.8 kB / 0.583 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.4693, allocations: 0.5647 MB / 0.5836 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.4699, allocations: 0.6829 MB / 0.5842 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.4701, allocations: 97.75 kB / 0.5843 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.4706, allocations: 233.3 kB / 0.5845 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.4708, allocations: 268.7 kB / 0.5848 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.4713, allocations: 0.5783 MB / 0.5854 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.4726, allocations: 1.447 MB / 0.5868 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4727, allocations: 0 / 0.5868 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4727, allocations: 0 / 0.5868 GB, free: 28.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.4727, allocations: 0 / 0.5868 GB, free: 28.41 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.00807/0.4808, allocations: 2.439 MB / 0.5892 GB, free: 27.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4808, allocations: 10.31 kB / 0.5892 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.4859, allocations: 0.77 MB / 0.5899 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.4874, allocations: 0.7334 MB / 0.5906 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.4877, allocations: 258.7 kB / 0.5909 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.4879, allocations: 81.53 kB / 0.591 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.4903, allocations: 1.092 MB / 0.592 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4903, allocations: 0 / 0.592 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/0.4904, allocations: 29.34 kB / 0.592 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.4904, allocations: 17.75 kB / 0.5921 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.4928, allocations: 1.025 MB / 0.5931 GB, free: 25.61 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.006429/0.4993, allocations: 3.511 MB / 0.5965 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.5017, allocations: 1.454 MB / 0.5979 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.5034, allocations: 0.7351 MB / 0.5986 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.901e-05/0.5035, allocations: 20.48 kB / 0.5987 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5035, allocations: 40.03 kB / 0.5987 GB, free: 22.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/0.5035, allocations: 0 / 0.5987 GB, free: 22.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02727/0.5308, allocations: 6.438 MB / 0.605 GB, free: 21.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.5309, allocations: 91.17 kB / 0.6051 GB, free: 20.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.5325, allocations: 0.8273 MB / 0.6059 GB, free: 20.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003464/0.5329, allocations: 41.08 kB / 0.6059 GB, free: 20.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.5333, allocations: 455 kB / 0.6063 GB, free: 20.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/0.5337, allocations: 324.9 kB / 0.6067 GB, free: 19.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005103/0.5342, allocations: 198 kB / 0.6068 GB, free: 19.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5344, allocations: 344.8 kB / 0.6072 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.5363, allocations: 0.7057 MB / 0.6079 GB, free: 19.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.5383, allocations: 0.8346 MB / 0.6087 GB, free: 18.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/0.542, allocations: 1.499 MB / 0.6101 GB, free: 18.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.542, allocations: 1.688 kB / 0.6101 GB, free: 18.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01648/0.5585, allocations: 4.222 MB / 0.6143 GB, free: 17.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.5586, allocations: 6.25 kB / 0.6143 GB, free: 17.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.5586, allocations: 2.375 kB / 0.6143 GB, free: 17.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006583/0.5652, allocations: 1.801 MB / 0.616 GB, free: 16.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.5663, allocations: 192 kB / 0.6162 GB, free: 16.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/0.5865, allocations: 9.348 MB / 0.6253 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.5882, allocations: 159 kB / 0.6255 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.637e-05/0.5883, allocations: 43.98 kB / 0.6255 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001646/0.5899, allocations: 0.8461 MB / 0.6264 GB, free: 6.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001368/0.5913, allocations: 0.8314 MB / 0.6272 GB, free: 5.629 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002601/0.5939, allocations: 1.475 MB / 0.6286 GB, free: 4.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.5939, allocations: 0 / 0.6286 GB, free: 4.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01272/0.6067, allocations: 4.203 MB / 0.6327 GB, free: 15.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.6067, allocations: 8 kB / 0.6327 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.6068, allocations: 0 / 0.6327 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006564/0.6133, allocations: 1.8 MB / 0.6345 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6144, allocations: 179.7 kB / 0.6347 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.6365, allocations: 9.315 MB / 0.6438 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.6383, allocations: 155 kB / 0.6439 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.6384, allocations: 39.98 kB / 0.6439 GB, free: 4.262 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.0003989/0.6388, allocations: 236.9 kB / 0.6442 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.6391, allocations: 110.7 kB / 0.6443 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.6528, allocations: 3.912 MB / 0.6481 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.6529, allocations: 8 kB / 0.6481 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6529, allocations: 0 / 0.6481 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-05/0.6529, allocations: 7.922 kB / 0.6481 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.6704, allocations: 5.614 MB / 0.6536 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.6705, allocations: 4 kB / 0.6536 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/0.6712, allocations: 111.9 kB / 0.6537 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006392/0.6776, allocations: 1.749 MB / 0.6554 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/0.6779, allocations: 23.98 kB / 0.6554 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/0.6979, allocations: 8.095 MB / 0.6633 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.698, allocations: 0 / 0.6633 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/0.7136, allocations: 4.821 MB / 0.668 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.7141, allocations: 191.6 kB / 0.6682 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.7144, allocations: 20 kB / 0.6682 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.7154, allocations: 91.89 kB / 0.6683 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006892/0.7161, allocations: 216.6 kB / 0.6685 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.7162, allocations: 24 kB / 0.6686 GB, free: 10.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007697/0.717, allocations: 0.5549 MB / 0.6691 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.717, allocations: 0 / 0.6691 GB, free: 10.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002084/0.7191, allocations: 0.6905 MB / 0.6698 GB, free: 9.418 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.0003112/0.7194, allocations: 127.8 kB / 0.6699 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01284/0.7322, allocations: 4.21 MB / 0.674 GB, free: 5.051 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.7323, allocations: 4 kB / 0.674 GB, free: 5.047 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004914/0.7372, allocations: 1.543 MB / 0.6755 GB, free: 3.492 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.7382, allocations: 91.41 kB / 0.6756 GB, free: 3.398 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.7425, allocations: 2.047 MB / 0.6776 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.7433, allocations: 1.085 MB / 0.6787 GB, free: 208 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.7436, allocations: 71.42 kB / 0.6787 GB, free: 136 kB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7436, allocations: 0 / 0.6787 GB, free: 136 kB / 478.1 MB Notification: Performance of Templates: time 0.02937/0.7729, allocations: 20.11 MB / 0.6984 GB, free: 12.01 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)