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.001049/0.001049, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.453/1.453, allocations: 223.3 MB / 239 MB, free: 5.531 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.001037/0.001037, allocations: 176.5 kB / 290.3 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5115/0.5115, allocations: 91.92 MB / 433.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12 kB / 0.5042 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3108, allocations: 72.46 MB / 0.5749 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004109/0.315, allocations: 5.662 MB / 0.5805 GB, free: 33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.3178, allocations: 1.828 MB / 0.5823 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007652/0.3186, allocations: 11.47 kB / 0.5823 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.3191, allocations: 146.9 kB / 0.5824 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.3207, allocations: 0.5863 MB / 0.583 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3219, allocations: 0.5326 MB / 0.5835 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3232, allocations: 1.231 MB / 0.5847 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.3237, allocations: 232.9 kB / 0.5849 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007441/0.3245, allocations: 492.8 kB / 0.5854 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007653/0.3253, allocations: 0.5997 MB / 0.586 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.3255, allocations: 52.41 kB / 0.586 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.326, allocations: 179.6 kB / 0.5862 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3261, allocations: 206.4 kB / 0.5864 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.3264, allocations: 204.7 kB / 0.5866 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.3273, allocations: 1.064 MB / 0.5876 GB, free: 29.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3273, allocations: 0 / 0.5876 GB, free: 29.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3273, allocations: 0 / 0.5876 GB, free: 29.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.3274, allocations: 0 / 0.5876 GB, free: 29.15 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.006636/0.334, allocations: 2.295 MB / 0.5899 GB, free: 28.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3341, allocations: 9.125 kB / 0.5899 GB, free: 28.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.3389, allocations: 0.7813 MB / 0.5906 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3402, allocations: 0.6991 MB / 0.5913 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.3404, allocations: 271.1 kB / 0.5916 GB, free: 27.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.3406, allocations: 77.34 kB / 0.5917 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.3429, allocations: 1.164 MB / 0.5928 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3429, allocations: 0 / 0.5928 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.322e-05/0.343, allocations: 30.97 kB / 0.5928 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.343, allocations: 27.92 kB / 0.5929 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.3453, allocations: 1.12 MB / 0.5939 GB, free: 26.49 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.006496/0.3518, allocations: 3.566 MB / 0.5974 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.3542, allocations: 1.528 MB / 0.5989 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.3558, allocations: 0.8194 MB / 0.5997 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.356, allocations: 15.64 kB / 0.5997 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.356, allocations: 43.56 kB / 0.5998 GB, free: 23.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.595e-06/0.356, allocations: 1.219 kB / 0.5998 GB, free: 23.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02707/0.3831, allocations: 8.507 MB / 0.6081 GB, free: 21.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3832, allocations: 86.67 kB / 0.6082 GB, free: 21.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.3844, allocations: 0.823 MB / 0.609 GB, free: 21.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.3846, allocations: 41.23 kB / 0.609 GB, free: 21.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.3849, allocations: 449 kB / 0.6094 GB, free: 20.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.3852, allocations: 322.1 kB / 0.6097 GB, free: 20.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.3853, allocations: 24.81 kB / 0.6098 GB, free: 20.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.3854, allocations: 349.9 kB / 0.6101 GB, free: 20.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.387, allocations: 0.7752 MB / 0.6109 GB, free: 20.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.3887, allocations: 0.9157 MB / 0.6118 GB, free: 19.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3903, allocations: 0.8276 MB / 0.6126 GB, free: 19.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3903, allocations: 1.156 kB / 0.6126 GB, free: 19.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01363/0.404, allocations: 5.117 MB / 0.6176 GB, free: 17.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.4041, allocations: 155.1 kB / 0.6177 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4041, allocations: 8.609 kB / 0.6177 GB, free: 17.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005572/0.4097, allocations: 2.106 MB / 0.6198 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4107, allocations: 195.8 kB / 0.62 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.4281, allocations: 9.549 MB / 0.6293 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4295, allocations: 206.9 kB / 0.6295 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.4297, allocations: 43.98 kB / 0.6295 GB, free: 5.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.4297, allocations: 4 kB / 0.6295 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01173/0.4414, allocations: 4.96 MB / 0.6344 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.4415, allocations: 4 kB / 0.6344 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/0.4474, allocations: 2.104 MB / 0.6364 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/0.4484, allocations: 191.7 kB / 0.6366 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.4684, allocations: 9.536 MB / 0.6459 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.47, allocations: 195 kB / 0.6461 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4701, allocations: 39.98 kB / 0.6461 GB, free: 4.164 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 (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.0006869/0.4708, allocations: 308.9 kB / 0.6464 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.471, allocations: 106.7 kB / 0.6465 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.4832, allocations: 4.814 MB / 0.6512 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4832, allocations: 12 kB / 0.6513 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4833, allocations: 0 / 0.6513 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.4833, allocations: 3.984 kB / 0.6513 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.4976, allocations: 6.462 MB / 0.6576 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.4976, allocations: 0 / 0.6576 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.4982, allocations: 119.8 kB / 0.6577 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005372/0.5036, allocations: 2.057 MB / 0.6597 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.5038, allocations: 20 kB / 0.6597 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.5198, allocations: 8.187 MB / 0.6677 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5198, allocations: 4 kB / 0.6677 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.5339, allocations: 5.844 MB / 0.6734 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.5343, allocations: 211.4 kB / 0.6736 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.5345, allocations: 16 kB / 0.6736 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.5354, allocations: 131.9 kB / 0.6738 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/0.536, allocations: 212.5 kB / 0.674 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.5361, allocations: 28 kB / 0.674 GB, free: 7.293 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.5367, allocations: 0.5432 MB / 0.6745 GB, free: 6.738 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5367, allocations: 0 / 0.6745 GB, free: 6.738 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002271/0.539, allocations: 0.6827 MB / 0.6752 GB, free: 6.055 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 (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.0003356/0.5394, allocations: 135.6 kB / 0.6753 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01129/0.5507, allocations: 4.629 MB / 0.6798 GB, free: 1.262 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5507, allocations: 8.125 kB / 0.6798 GB, free: 1.254 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004357/0.5551, allocations: 1.74 MB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.556, allocations: 92.12 kB / 0.6816 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.5599, allocations: 2.427 MB / 0.684 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.5605, allocations: 1.078 MB / 0.6851 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005164/0.561, allocations: 106.6 kB / 0.6852 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5613, allocations: 59.42 kB / 0.6852 GB, free: 11.68 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5613, allocations: 0 / 0.6852 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Templates: time 0.03826/0.5995, allocations: 27.11 MB / 0.7117 GB, free: 0.6094 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)