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.001778/0.001778, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.719/1.719, allocations: 222.9 MB / 239.2 MB, free: 4.59 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.00154/0.00154, allocations: 191.9 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5381/0.5381, allocations: 91.96 MB / 431.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 79.88 kB / 0.5019 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3607, allocations: 71.28 MB / 0.5716 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005037/0.3658, allocations: 6.1 MB / 0.5775 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.369, allocations: 1.858 MB / 0.5793 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.3698, allocations: 16.28 kB / 0.5793 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.3703, allocations: 213.8 kB / 0.5795 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.372, allocations: 0.6886 MB / 0.5802 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3733, allocations: 0.6295 MB / 0.5808 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3743, allocations: 1.344 MB / 0.5821 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/0.3748, allocations: 293.6 kB / 0.5824 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.3754, allocations: 0.5562 MB / 0.583 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.3759, allocations: 0.6873 MB / 0.5836 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3761, allocations: 100.2 kB / 0.5837 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.3765, allocations: 236.5 kB / 0.584 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3766, allocations: 265.1 kB / 0.5842 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.377, allocations: 0.5791 MB / 0.5848 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.3781, allocations: 1.441 MB / 0.5862 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3781, allocations: 0 / 0.5862 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3781, allocations: 4 kB / 0.5862 GB, free: 28.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.3782, allocations: 1.5 kB / 0.5862 GB, free: 28.19 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.007533/0.3857, allocations: 2.44 MB / 0.5886 GB, free: 27.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3857, allocations: 13.56 kB / 0.5886 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/0.3904, allocations: 0.7712 MB / 0.5893 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3915, allocations: 0.7385 MB / 0.5901 GB, free: 26.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.3917, allocations: 255.4 kB / 0.5903 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.3919, allocations: 77.09 kB / 0.5904 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.394, allocations: 1.097 MB / 0.5915 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.394, allocations: 0 / 0.5915 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.3941, allocations: 29.88 kB / 0.5915 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.3942, allocations: 20.42 kB / 0.5915 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.3964, allocations: 1.021 MB / 0.5925 GB, free: 25.38 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.005832/0.4022, allocations: 3.509 MB / 0.5959 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.4047, allocations: 1.449 MB / 0.5973 GB, free: 22.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.4062, allocations: 0.7407 MB / 0.5981 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.914e-05/0.4063, allocations: 15.92 kB / 0.5981 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4064, allocations: 43.41 kB / 0.5981 GB, free: 22.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.176e-06/0.4064, allocations: 0 / 0.5981 GB, free: 22.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02578/0.4322, allocations: 6.434 MB / 0.6044 GB, free: 20.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4322, allocations: 87.94 kB / 0.6045 GB, free: 20.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.4334, allocations: 0.8348 MB / 0.6053 GB, free: 20.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.4336, allocations: 41.89 kB / 0.6053 GB, free: 20.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.4338, allocations: 453.2 kB / 0.6058 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.4341, allocations: 323.4 kB / 0.6061 GB, free: 19.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.4345, allocations: 195.8 kB / 0.6063 GB, free: 19.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.4346, allocations: 349.9 kB / 0.6066 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4361, allocations: 0.7061 MB / 0.6073 GB, free: 19.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4377, allocations: 0.8298 MB / 0.6081 GB, free: 18.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/0.4416, allocations: 1.503 MB / 0.6096 GB, free: 17.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4416, allocations: 0 / 0.6096 GB, free: 17.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01513/0.4568, allocations: 4.221 MB / 0.6137 GB, free: 16.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4568, allocations: 6.344 kB / 0.6137 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4568, allocations: 2.125 kB / 0.6137 GB, free: 16.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006228/0.4631, allocations: 1.792 MB / 0.6154 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4641, allocations: 195.4 kB / 0.6156 GB, free: 16.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/0.4835, allocations: 9.357 MB / 0.6248 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4851, allocations: 159 kB / 0.6249 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.71e-05/0.4852, allocations: 39.92 kB / 0.625 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001587/0.4868, allocations: 0.8578 MB / 0.6258 GB, free: 6.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001305/0.4881, allocations: 0.8158 MB / 0.6266 GB, free: 5.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00254/0.4906, allocations: 1.482 MB / 0.628 GB, free: 3.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.4906, allocations: 0 / 0.628 GB, free: 3.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01231/0.5029, allocations: 4.191 MB / 0.6321 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.503, allocations: 13.88 kB / 0.6321 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.503, allocations: 0 / 0.6321 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006526/0.5095, allocations: 1.8 MB / 0.6339 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.5106, allocations: 183.7 kB / 0.6341 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/0.5334, allocations: 9.319 MB / 0.6432 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.535, allocations: 163 kB / 0.6433 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.5351, allocations: 35.98 kB / 0.6434 GB, free: 4.125 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.0004436/0.5356, allocations: 232 kB / 0.6436 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.5358, allocations: 110.7 kB / 0.6437 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.5494, allocations: 3.912 MB / 0.6475 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.5495, allocations: 11.98 kB / 0.6475 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5495, allocations: 0 / 0.6475 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/0.5495, allocations: 7.922 kB / 0.6475 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.566, allocations: 5.618 MB / 0.653 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.5661, allocations: 4 kB / 0.653 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.5668, allocations: 103.9 kB / 0.6531 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006459/0.5733, allocations: 1.753 MB / 0.6548 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/0.5736, allocations: 16 kB / 0.6549 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.5945, allocations: 8.087 MB / 0.6628 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5946, allocations: 4 kB / 0.6628 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.6105, allocations: 4.817 MB / 0.6675 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.611, allocations: 195.6 kB / 0.6676 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/0.6114, allocations: 20 kB / 0.6677 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.6127, allocations: 99.81 kB / 0.6678 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007286/0.6134, allocations: 212.6 kB / 0.668 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.6136, allocations: 24 kB / 0.668 GB, free: 10.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009121/0.6145, allocations: 0.5589 MB / 0.6685 GB, free: 9.973 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6145, allocations: 0 / 0.6685 GB, free: 9.973 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002611/0.6171, allocations: 0.6827 MB / 0.6692 GB, free: 9.289 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.0003442/0.6175, allocations: 133.1 kB / 0.6693 GB, free: 9.152 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01333/0.6308, allocations: 4.208 MB / 0.6734 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.6309, allocations: 0 / 0.6734 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005176/0.6361, allocations: 1.56 MB / 0.675 GB, free: 3.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6373, allocations: 94.64 kB / 0.675 GB, free: 3.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.6422, allocations: 2.001 MB / 0.677 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000966/0.6432, allocations: 1.077 MB / 0.6781 GB, free: 116 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000645/0.6438, allocations: 102.7 kB / 0.6782 GB, free: 8 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.6441, allocations: 67.42 kB / 0.6782 GB, free: 15.94 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6441, allocations: 0 / 0.6782 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Templates: time 0.05601/0.7001, allocations: 31.39 MB / 0.7089 GB, free: 0.6016 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)