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.0009395/0.0009396, allocations: 92.16 kB / 16.02 MB, free: 80 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.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.492 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.0009622/0.0009621, allocations: 184.5 kB / 291.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5089/0.5089, allocations: 91.93 MB / 434.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 15.94 kB / 0.5054 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3742, allocations: 72.45 MB / 0.5762 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004649/0.3789, allocations: 6.034 MB / 0.5821 GB, free: 32.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.3826, allocations: 1.921 MB / 0.5839 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.3832, allocations: 11.88 kB / 0.5839 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.3837, allocations: 165.5 kB / 0.5841 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.3851, allocations: 0.6134 MB / 0.5847 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3862, allocations: 0.6054 MB / 0.5853 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.3873, allocations: 1.279 MB / 0.5865 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.3877, allocations: 258.2 kB / 0.5868 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.3883, allocations: 0.4924 MB / 0.5873 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.3888, allocations: 0.6254 MB / 0.5879 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.3889, allocations: 52.44 kB / 0.5879 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.3893, allocations: 188 kB / 0.5881 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.3895, allocations: 220.8 kB / 0.5883 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.3899, allocations: 0.552 MB / 0.5889 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.3906, allocations: 1.066 MB / 0.5899 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3906, allocations: 0 / 0.5899 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3906, allocations: 0 / 0.5899 GB, free: 28.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3907, allocations: 0 / 0.5899 GB, free: 28.27 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.007543/0.3982, allocations: 2.277 MB / 0.5921 GB, free: 27.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.3983, allocations: 9.688 kB / 0.5921 GB, free: 27.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.4034, allocations: 0.7724 MB / 0.5929 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.4047, allocations: 0.7319 MB / 0.5936 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.405, allocations: 266 kB / 0.5939 GB, free: 26.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.4052, allocations: 80.78 kB / 0.5939 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.4075, allocations: 1.174 MB / 0.5951 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.4075, allocations: 1.156 kB / 0.5951 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.4076, allocations: 29.59 kB / 0.5951 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.4077, allocations: 17.5 kB / 0.5951 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.41, allocations: 1.123 MB / 0.5962 GB, free: 25.58 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.006205/0.4162, allocations: 3.565 MB / 0.5997 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.4187, allocations: 1.546 MB / 0.6012 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.4203, allocations: 0.8174 MB / 0.602 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.4204, allocations: 20.39 kB / 0.602 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4204, allocations: 43.47 kB / 0.6021 GB, free: 22.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.695e-06/0.4204, allocations: 1.406 kB / 0.6021 GB, free: 22.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03071/0.4512, allocations: 8.546 MB / 0.6104 GB, free: 20.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.4513, allocations: 86.91 kB / 0.6105 GB, free: 20.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4526, allocations: 0.8271 MB / 0.6113 GB, free: 20.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.4529, allocations: 41.77 kB / 0.6114 GB, free: 20.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.4532, allocations: 453.7 kB / 0.6118 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.4535, allocations: 324.9 kB / 0.6121 GB, free: 19.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.4537, allocations: 111.6 kB / 0.6122 GB, free: 19.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.4538, allocations: 346.6 kB / 0.6125 GB, free: 19.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.4555, allocations: 0.7845 MB / 0.6133 GB, free: 19.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.4574, allocations: 0.9119 MB / 0.6142 GB, free: 18.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/0.4608, allocations: 1.673 MB / 0.6158 GB, free: 17.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.4609, allocations: 4 kB / 0.6158 GB, free: 17.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01534/0.4762, allocations: 5.159 MB / 0.6209 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/0.4764, allocations: 154 kB / 0.621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4764, allocations: 4 kB / 0.621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.4826, allocations: 2.1 MB / 0.6231 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009992/0.4836, allocations: 203.7 kB / 0.6233 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/0.503, allocations: 9.566 MB / 0.6326 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.5047, allocations: 206.9 kB / 0.6328 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.5049, allocations: 43.98 kB / 0.6328 GB, free: 2.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.5049, allocations: 4 kB / 0.6328 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01393/0.5188, allocations: 4.995 MB / 0.6377 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.5189, allocations: 4 kB / 0.6377 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006785/0.5257, allocations: 2.1 MB / 0.6398 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5268, allocations: 199.7 kB / 0.64 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.5493, allocations: 9.539 MB / 0.6493 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.5511, allocations: 195 kB / 0.6495 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.5513, allocations: 43.98 kB / 0.6495 GB, free: 1.758 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 (110): * Single equations (assignments): 109 * 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.0006249/0.5519, allocations: 296.9 kB / 0.6498 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.5521, allocations: 106.7 kB / 0.6499 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/0.5667, allocations: 4.825 MB / 0.6546 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.5668, allocations: 11.94 kB / 0.6546 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5668, allocations: 4 kB / 0.6546 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/0.5668, allocations: 3.984 kB / 0.6546 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.5842, allocations: 6.47 MB / 0.6609 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5842, allocations: 0 / 0.6609 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.5849, allocations: 115.8 kB / 0.6611 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006434/0.5914, allocations: 2.061 MB / 0.6631 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.5916, allocations: 23.92 kB / 0.6631 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.6114, allocations: 8.199 MB / 0.6711 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.6114, allocations: 7.938 kB / 0.6711 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.6285, allocations: 5.864 MB / 0.6768 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.629, allocations: 195.5 kB / 0.677 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.6292, allocations: 20 kB / 0.677 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6302, allocations: 139.9 kB / 0.6772 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007635/0.631, allocations: 208.5 kB / 0.6774 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/0.6311, allocations: 20 kB / 0.6774 GB, free: 4.855 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008267/0.6319, allocations: 0.5549 MB / 0.6779 GB, free: 4.289 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6319, allocations: 4 kB / 0.6779 GB, free: 4.285 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002038/0.634, allocations: 0.6827 MB / 0.6786 GB, free: 3.602 MB / 478.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 (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.0003561/0.6343, allocations: 123.2 kB / 0.6787 GB, free: 3.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01261/0.647, allocations: 4.656 MB / 0.6833 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.647, allocations: 64 / 0.6833 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005233/0.6523, allocations: 1.743 MB / 0.685 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6534, allocations: 92.78 kB / 0.6851 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.6576, allocations: 2.556 MB / 0.6876 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.6583, allocations: 1.089 MB / 0.6886 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.6587, allocations: 63.44 kB / 0.6887 GB, free: 9.16 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6587, allocations: 3.938 kB / 0.6887 GB, free: 9.156 MB / 494.1 MB Notification: Performance of Templates: time 0.02771/0.6864, allocations: 20.02 MB / 0.7082 GB, free: 5.133 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)