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.00127/0.00127, allocations: 103.9 kB / 16.36 MB, free: 6.285 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.285/1.285, allocations: 222.9 MB / 240 MB, free: 4.566 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.001216/0.001216, allocations: 192.5 kB / 290.3 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4822/0.4822, allocations: 91.9 MB / 432.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 80.16 kB / 0.5033 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3195, allocations: 71.28 MB / 0.5729 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.00497/0.3245, allocations: 6.139 MB / 0.5789 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.3271, allocations: 1.891 MB / 0.5807 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.3274, allocations: 17.31 kB / 0.5807 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.3278, allocations: 217.2 kB / 0.5809 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.3289, allocations: 0.689 MB / 0.5816 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.3299, allocations: 0.6471 MB / 0.5822 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.3309, allocations: 1.356 MB / 0.5836 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.3312, allocations: 295.9 kB / 0.5839 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.3318, allocations: 0.5608 MB / 0.5844 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.3324, allocations: 0.6908 MB / 0.5851 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3325, allocations: 98.66 kB / 0.5852 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.3329, allocations: 229.2 kB / 0.5854 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.333, allocations: 265.3 kB / 0.5856 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.3334, allocations: 0.5907 MB / 0.5862 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3345, allocations: 1.449 MB / 0.5876 GB, free: 28.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3345, allocations: 0 / 0.5876 GB, free: 28.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3345, allocations: 0 / 0.5876 GB, free: 28.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.3345, allocations: 0 / 0.5876 GB, free: 28.66 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.006977/0.3415, allocations: 2.434 MB / 0.59 GB, free: 27.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3416, allocations: 13.66 kB / 0.59 GB, free: 27.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/0.3462, allocations: 0.7642 MB / 0.5908 GB, free: 27.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000983/0.3472, allocations: 0.7409 MB / 0.5915 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.3474, allocations: 256.1 kB / 0.5917 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3475, allocations: 77.84 kB / 0.5918 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.3494, allocations: 1.097 MB / 0.5929 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3494, allocations: 0 / 0.5929 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.3495, allocations: 25.62 kB / 0.5929 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.3496, allocations: 18.09 kB / 0.5929 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3515, allocations: 1.025 MB / 0.5939 GB, free: 25.87 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.005426/0.3569, allocations: 3.476 MB / 0.5973 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.359, allocations: 1.433 MB / 0.5987 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.3604, allocations: 0.7407 MB / 0.5994 GB, free: 22.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.3605, allocations: 14.89 kB / 0.5995 GB, free: 22.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.3606, allocations: 46.59 kB / 0.5995 GB, free: 22.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.817e-06/0.3606, allocations: 0 / 0.5995 GB, free: 22.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02545/0.386, allocations: 6.9 MB / 0.6062 GB, free: 21.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3861, allocations: 87.2 kB / 0.6063 GB, free: 21.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3872, allocations: 0.8231 MB / 0.6071 GB, free: 20.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.3874, allocations: 41.11 kB / 0.6072 GB, free: 20.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.3877, allocations: 454.7 kB / 0.6076 GB, free: 20.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.3879, allocations: 325.2 kB / 0.6079 GB, free: 20.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.3883, allocations: 207.7 kB / 0.6081 GB, free: 20.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.3884, allocations: 350.9 kB / 0.6084 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3898, allocations: 0.7117 MB / 0.6091 GB, free: 19.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.3912, allocations: 0.8355 MB / 0.61 GB, free: 19.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.394, allocations: 1.517 MB / 0.6114 GB, free: 18.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.394, allocations: 1.219 kB / 0.6114 GB, free: 18.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01235/0.4063, allocations: 4.234 MB / 0.6156 GB, free: 16.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.4064, allocations: 6.156 kB / 0.6156 GB, free: 16.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4064, allocations: 2.062 kB / 0.6156 GB, free: 16.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005542/0.4119, allocations: 1.78 MB / 0.6173 GB, free: 16.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.413, allocations: 196.9 kB / 0.6175 GB, free: 16.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.43, allocations: 9.312 MB / 0.6266 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4315, allocations: 174.9 kB / 0.6268 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/0.4316, allocations: 39.98 kB / 0.6268 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001452/0.433, allocations: 0.8539 MB / 0.6276 GB, free: 5.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001227/0.4343, allocations: 0.8276 MB / 0.6284 GB, free: 4.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002309/0.4366, allocations: 1.494 MB / 0.6299 GB, free: 3.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.4366, allocations: 0 / 0.6299 GB, free: 3.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01134/0.4479, allocations: 4.202 MB / 0.634 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.448, allocations: 11.94 kB / 0.634 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.448, allocations: 0 / 0.634 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005688/0.4537, allocations: 1.784 MB / 0.6358 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.4546, allocations: 199.7 kB / 0.636 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/0.4743, allocations: 9.299 MB / 0.645 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4758, allocations: 151.1 kB / 0.6452 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/0.4759, allocations: 43.98 kB / 0.6452 GB, free: 3.551 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.0002905/0.4762, allocations: 229 kB / 0.6454 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.4764, allocations: 110.6 kB / 0.6455 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.4879, allocations: 3.904 MB / 0.6494 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.488, allocations: 8 kB / 0.6494 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.488, allocations: 0 / 0.6494 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.488, allocations: 15.97 kB / 0.6494 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.5016, allocations: 5.532 MB / 0.6548 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5017, allocations: 0 / 0.6548 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.5022, allocations: 115.9 kB / 0.6549 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005235/0.5075, allocations: 1.745 MB / 0.6566 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.5076, allocations: 16 kB / 0.6566 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/0.5242, allocations: 8.056 MB / 0.6645 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5243, allocations: 0 / 0.6645 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.5378, allocations: 4.854 MB / 0.6692 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/0.5382, allocations: 199.5 kB / 0.6694 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.5383, allocations: 16 kB / 0.6694 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.5392, allocations: 95.89 kB / 0.6695 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005703/0.5398, allocations: 204.7 kB / 0.6697 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.5399, allocations: 27.94 kB / 0.6697 GB, free: 10.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006407/0.5406, allocations: 0.5549 MB / 0.6703 GB, free: 9.512 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5406, allocations: 0 / 0.6703 GB, free: 9.512 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00165/0.5422, allocations: 0.6906 MB / 0.671 GB, free: 8.82 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.0002383/0.5425, allocations: 132.4 kB / 0.6711 GB, free: 8.684 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01035/0.5528, allocations: 4.196 MB / 0.6752 GB, free: 4.461 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5529, allocations: 0 / 0.6752 GB, free: 4.461 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004243/0.5571, allocations: 1.562 MB / 0.6767 GB, free: 2.887 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.558, allocations: 94.66 kB / 0.6768 GB, free: 2.793 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.5617, allocations: 2.024 MB / 0.6788 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.5624, allocations: 1.085 MB / 0.6798 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.5628, allocations: 98.67 kB / 0.6799 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.563, allocations: 67.42 kB / 0.68 GB, free: 15.46 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.563, allocations: 0 / 0.68 GB, free: 15.46 MB / 494.1 MB Notification: Performance of Templates: time 0.04471/0.6077, allocations: 31.32 MB / 0.7106 GB, free: 184 kB / 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)