Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.283/1.283, allocations: 223.2 MB / 238.9 MB, free: 5.426 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.001087/0.001087, allocations: 189.1 kB / 290.2 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4563/0.4563, allocations: 79.46 MB / 420.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003977, allocations: 16 kB / 0.489 GB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 69.5 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.1979/0.3236, allocations: 5.366 MB / 0.5621 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.3273, allocations: 1.852 MB / 0.5639 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.328, allocations: 19.5 kB / 0.5639 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.3284, allocations: 146.6 kB / 0.5641 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.3301, allocations: 0.6368 MB / 0.5647 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3313, allocations: 0.5365 MB / 0.5652 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3326, allocations: 0.8799 MB / 0.5661 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.3329, allocations: 237.4 kB / 0.5663 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.3335, allocations: 485.2 kB / 0.5668 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.3341, allocations: 0.5893 MB / 0.5673 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3342, allocations: 51.44 kB / 0.5674 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.3346, allocations: 170.6 kB / 0.5676 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3347, allocations: 207.2 kB / 0.5678 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3349, allocations: 206.5 kB / 0.568 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.3357, allocations: 1.027 MB / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.3357, allocations: 0.75 kB / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3357, allocations: 2.844 kB / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.3357, allocations: 0.9688 kB / 0.569 GB, free: 35.91 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006844/0.3426, allocations: 2.282 MB / 0.5712 GB, free: 35.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3426, allocations: 11.28 kB / 0.5712 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.3476, allocations: 0.775 MB / 0.572 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.3489, allocations: 0.7036 MB / 0.5726 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.3492, allocations: 263.3 kB / 0.5729 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.3494, allocations: 76.84 kB / 0.573 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.3515, allocations: 1.157 MB / 0.5741 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3515, allocations: 1.453 kB / 0.5741 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.3516, allocations: 29.94 kB / 0.5741 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.3517, allocations: 24.89 kB / 0.5742 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.3538, allocations: 1.118 MB / 0.5752 GB, free: 33.63 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.006134/0.3599, allocations: 3.668 MB / 0.5788 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.362, allocations: 1.536 MB / 0.5803 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-05/0.3622, allocations: 13.39 kB / 0.5803 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.3622, allocations: 46.25 kB / 0.5804 GB, free: 30.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.665e-06/0.3622, allocations: 2.906 kB / 0.5804 GB, free: 30.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02822/0.3904, allocations: 8.493 MB / 0.5887 GB, free: 29.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3905, allocations: 87.67 kB / 0.5888 GB, free: 29.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3916, allocations: 0.8224 MB / 0.5896 GB, free: 28.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.3918, allocations: 41.92 kB / 0.5896 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.3921, allocations: 454.4 kB / 0.59 GB, free: 28.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.3924, allocations: 322.2 kB / 0.5903 GB, free: 27.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.3925, allocations: 28.22 kB / 0.5904 GB, free: 27.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.3926, allocations: 350.7 kB / 0.5907 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.3942, allocations: 0.7761 MB / 0.5915 GB, free: 27.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.396, allocations: 0.9123 MB / 0.5924 GB, free: 26.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.3977, allocations: 0.8261 MB / 0.5932 GB, free: 26.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3977, allocations: 1.375 kB / 0.5932 GB, free: 26.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01507/0.4128, allocations: 5.11 MB / 0.5982 GB, free: 25.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.413, allocations: 0.8788 MB / 0.599 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.413, allocations: 6.125 kB / 0.599 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006913/0.4199, allocations: 2.102 MB / 0.6011 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.4211, allocations: 203.8 kB / 0.6013 GB, free: 24.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/0.443, allocations: 9.996 MB / 0.611 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4445, allocations: 208.5 kB / 0.6112 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4446, allocations: 39.05 kB / 0.6113 GB, free: 19.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.4446, allocations: 3.875 kB / 0.6113 GB, free: 19.87 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01335/0.458, allocations: 4.965 MB / 0.6161 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.458, allocations: 4 kB / 0.6161 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00595/0.464, allocations: 2.104 MB / 0.6182 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.4649, allocations: 195.7 kB / 0.6184 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.4838, allocations: 9.986 MB / 0.6281 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4851, allocations: 195.9 kB / 0.6283 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.4852, allocations: 39.98 kB / 0.6283 GB, free: 3.266 MB / 430.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 (110): * Single equations (assignments): 109 * 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.0004345/0.4857, allocations: 307 kB / 0.6286 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.4858, allocations: 106.7 kB / 0.6287 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.4985, allocations: 4.818 MB / 0.6334 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4986, allocations: 12 kB / 0.6334 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4986, allocations: 0 / 0.6334 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4986, allocations: 7.922 kB / 0.6335 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.5141, allocations: 6.459 MB / 0.6398 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.5141, allocations: 1.438 kB / 0.6398 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.5147, allocations: 123.8 kB / 0.6399 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006149/0.5209, allocations: 2.057 MB / 0.6419 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.521, allocations: 16 kB / 0.6419 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/0.5402, allocations: 8.637 MB / 0.6503 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5402, allocations: 0 / 0.6503 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/0.5562, allocations: 5.871 MB / 0.6561 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.5566, allocations: 199.4 kB / 0.6563 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.5569, allocations: 23.95 kB / 0.6563 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.558, allocations: 136.7 kB / 0.6564 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006101/0.5586, allocations: 206 kB / 0.6566 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/0.5587, allocations: 24 kB / 0.6566 GB, free: 5.922 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007063/0.5594, allocations: 0.5432 MB / 0.6572 GB, free: 5.367 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5594, allocations: 0 / 0.6572 GB, free: 5.367 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00211/0.5616, allocations: 0.6905 MB / 0.6578 GB, free: 4.676 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * Single equations (assignments): 56 * 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.0002619/0.5618, allocations: 125.5 kB / 0.658 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01192/0.5738, allocations: 4.638 MB / 0.6625 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5738, allocations: 0.5625 kB / 0.6625 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004826/0.5786, allocations: 1.747 MB / 0.6642 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.5792, allocations: 72.75 kB / 0.6643 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.583, allocations: 2.451 MB / 0.6667 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.5836, allocations: 1.107 MB / 0.6677 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.584, allocations: 99.56 kB / 0.6678 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.5843, allocations: 63.42 kB / 0.6679 GB, free: 10.33 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5843, allocations: 0 / 0.6679 GB, free: 10.33 MB / 478.1 MB Notification: Performance of Templates: time 0.04046/0.6247, allocations: 27.07 MB / 0.6943 GB, free: 15.43 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)