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.0009977/0.0009976, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.361/1.361, allocations: 223.3 MB / 239.3 MB, free: 5.445 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.00102/0.00102, allocations: 172.5 kB / 290.6 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.543/0.543, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 12 kB / 0.5048 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3622, allocations: 72.46 MB / 0.5755 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.004884/0.3672, allocations: 5.991 MB / 0.5814 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.3709, allocations: 1.894 MB / 0.5832 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007395/0.3717, allocations: 14.56 kB / 0.5832 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.3722, allocations: 165.3 kB / 0.5834 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.3738, allocations: 0.6127 MB / 0.584 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.3751, allocations: 0.58 MB / 0.5846 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.3764, allocations: 1.284 MB / 0.5858 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.3769, allocations: 257.5 kB / 0.5861 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000658/0.3775, allocations: 0.4938 MB / 0.5865 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.3781, allocations: 0.6314 MB / 0.5872 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.3783, allocations: 50.31 kB / 0.5872 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.3787, allocations: 181 kB / 0.5874 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3789, allocations: 220.2 kB / 0.5876 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.3793, allocations: 0.5491 MB / 0.5881 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3804, allocations: 1.372 MB / 0.5895 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3804, allocations: 3.5 kB / 0.5895 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3804, allocations: 2.469 kB / 0.5895 GB, free: 28.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.3805, allocations: 0 / 0.5895 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.007488/0.388, allocations: 2.277 MB / 0.5917 GB, free: 27.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.388, allocations: 8.875 kB / 0.5917 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/0.3933, allocations: 0.7743 MB / 0.5925 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.3946, allocations: 0.7377 MB / 0.5932 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.3949, allocations: 268.6 kB / 0.5934 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.395, allocations: 73 kB / 0.5935 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.3976, allocations: 1.173 MB / 0.5946 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3976, allocations: 4 kB / 0.5947 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-05/0.3977, allocations: 25.81 kB / 0.5947 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.3977, allocations: 17.81 kB / 0.5947 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.4002, allocations: 1.116 MB / 0.5958 GB, free: 25.5 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.006312/0.4065, allocations: 3.585 MB / 0.5993 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.4093, allocations: 1.556 MB / 0.6008 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.4109, allocations: 0.8172 MB / 0.6016 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.805e-05/0.411, allocations: 15.47 kB / 0.6016 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4111, allocations: 51.67 kB / 0.6017 GB, free: 22.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.535e-06/0.4111, allocations: 0 / 0.6017 GB, free: 22.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02912/0.4402, allocations: 7.985 MB / 0.6095 GB, free: 20.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4403, allocations: 88.41 kB / 0.6095 GB, free: 20.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.4417, allocations: 0.826 MB / 0.6104 GB, free: 20.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003149/0.442, allocations: 44.89 kB / 0.6104 GB, free: 20.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.4424, allocations: 455.5 kB / 0.6108 GB, free: 19.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.4427, allocations: 323.3 kB / 0.6111 GB, free: 19.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.4429, allocations: 101.2 kB / 0.6112 GB, free: 19.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.443, allocations: 350.5 kB / 0.6116 GB, free: 19.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.4447, allocations: 0.7723 MB / 0.6123 GB, free: 18.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.4466, allocations: 0.9063 MB / 0.6132 GB, free: 18.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/0.4502, allocations: 1.658 MB / 0.6148 GB, free: 17.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.4502, allocations: 1.062 kB / 0.6148 GB, free: 17.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01608/0.4663, allocations: 5.154 MB / 0.6199 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.4665, allocations: 161.9 kB / 0.62 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.4665, allocations: 4 kB / 0.62 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00634/0.4729, allocations: 2.096 MB / 0.6221 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.4739, allocations: 195.6 kB / 0.6223 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.4932, allocations: 9.577 MB / 0.6316 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.495, allocations: 203 kB / 0.6318 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.4951, allocations: 40 kB / 0.6318 GB, free: 3.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4951, allocations: 4 kB / 0.6318 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01397/0.5091, allocations: 4.995 MB / 0.6367 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.5092, allocations: 4 kB / 0.6367 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00678/0.516, allocations: 2.104 MB / 0.6388 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.517, allocations: 183.8 kB / 0.639 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.5394, allocations: 9.559 MB / 0.6483 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.5411, allocations: 203 kB / 0.6485 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.5413, allocations: 36 kB / 0.6485 GB, free: 2.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.0005818/0.5418, allocations: 308.9 kB / 0.6488 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.5421, allocations: 106.7 kB / 0.6489 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/0.5564, allocations: 4.841 MB / 0.6536 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.5565, allocations: 8 kB / 0.6536 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5565, allocations: 0 / 0.6536 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.5565, allocations: 3.984 kB / 0.6537 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.5736, allocations: 6.54 MB / 0.66 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.5737, allocations: 0 / 0.66 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.5744, allocations: 119.8 kB / 0.6602 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006483/0.5809, allocations: 2.053 MB / 0.6622 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.5811, allocations: 23.98 kB / 0.6622 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/0.6, allocations: 8.234 MB / 0.6702 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6, allocations: 0 / 0.6702 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.6163, allocations: 5.817 MB / 0.6759 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.6169, allocations: 195.6 kB / 0.6761 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.617, allocations: 16 kB / 0.6761 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6181, allocations: 143.8 kB / 0.6762 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006459/0.6188, allocations: 200.5 kB / 0.6764 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.6189, allocations: 23.98 kB / 0.6765 GB, free: 5.148 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007221/0.6196, allocations: 0.5589 MB / 0.677 GB, free: 4.578 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6196, allocations: 0 / 0.677 GB, free: 4.578 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001968/0.6216, allocations: 0.6827 MB / 0.6777 GB, free: 3.895 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.0002819/0.6219, allocations: 131.1 kB / 0.6778 GB, free: 3.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0125/0.6344, allocations: 4.634 MB / 0.6823 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.6344, allocations: 0 / 0.6823 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005096/0.6395, allocations: 1.748 MB / 0.684 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.6407, allocations: 88.86 kB / 0.6841 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.6447, allocations: 2.458 MB / 0.6865 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.6454, allocations: 1.082 MB / 0.6876 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004778/0.6458, allocations: 102.7 kB / 0.6877 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.6461, allocations: 59.44 kB / 0.6877 GB, free: 9.484 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6461, allocations: 3.938 kB / 0.6877 GB, free: 9.48 MB / 494.1 MB Notification: Performance of Templates: time 0.0434/0.6895, allocations: 27.93 MB / 0.715 GB, free: 13.59 MB / 0.5137 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)