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.001467/0.001472, allocations: 108 kB / 15.6 MB, free: 132 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.404/1.404, allocations: 222.9 MB / 239.2 MB, free: 4.582 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.001227/0.001227, allocations: 188.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5303/0.5303, allocations: 91.9 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 76.16 kB / 0.5019 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3348, allocations: 71.26 MB / 0.5715 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005522/0.3404, allocations: 6.154 MB / 0.5775 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.3437, allocations: 1.884 MB / 0.5793 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.3446, allocations: 12.16 kB / 0.5793 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.3452, allocations: 212.6 kB / 0.5795 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.3469, allocations: 0.6979 MB / 0.5802 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3482, allocations: 0.6461 MB / 0.5808 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.3497, allocations: 1.348 MB / 0.5822 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.3501, allocations: 291.6 kB / 0.5824 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.3507, allocations: 0.5622 MB / 0.583 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.3512, allocations: 0.6923 MB / 0.5837 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.3514, allocations: 94.56 kB / 0.5837 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.3519, allocations: 234.3 kB / 0.584 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.352, allocations: 261.5 kB / 0.5842 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.3524, allocations: 0.588 MB / 0.5848 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.3536, allocations: 1.434 MB / 0.5862 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3537, allocations: 1.531 kB / 0.5862 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3537, allocations: 0 / 0.5862 GB, free: 28.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.3537, allocations: 3.156 kB / 0.5862 GB, free: 28.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.008108/0.3618, allocations: 2.439 MB / 0.5886 GB, free: 27.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3619, allocations: 9.531 kB / 0.5886 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.367, allocations: 0.7633 MB / 0.5893 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.3682, allocations: 0.7375 MB / 0.5901 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.3685, allocations: 254.4 kB / 0.5903 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3687, allocations: 76.56 kB / 0.5904 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.3708, allocations: 1.099 MB / 0.5914 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3708, allocations: 0 / 0.5914 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.3709, allocations: 30 kB / 0.5915 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3709, allocations: 17.81 kB / 0.5915 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.3731, allocations: 1.026 MB / 0.5925 GB, free: 25.36 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.005792/0.3789, allocations: 3.5 MB / 0.5959 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.3811, allocations: 1.43 MB / 0.5973 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.3826, allocations: 0.7434 MB / 0.598 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.3827, allocations: 12.77 kB / 0.598 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.3827, allocations: 52.11 kB / 0.5981 GB, free: 22.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.635e-06/0.3827, allocations: 0 / 0.5981 GB, free: 22.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02907/0.4118, allocations: 6.894 MB / 0.6048 GB, free: 20.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.4119, allocations: 91.94 kB / 0.6049 GB, free: 20.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.4131, allocations: 0.8213 MB / 0.6057 GB, free: 20.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.4133, allocations: 41.95 kB / 0.6058 GB, free: 20.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.4136, allocations: 450.3 kB / 0.6062 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.4139, allocations: 323.8 kB / 0.6065 GB, free: 19.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.4143, allocations: 207.2 kB / 0.6067 GB, free: 19.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.4144, allocations: 345.6 kB / 0.607 GB, free: 19.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.416, allocations: 0.7148 MB / 0.6077 GB, free: 19.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.4177, allocations: 0.8399 MB / 0.6085 GB, free: 18.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.4208, allocations: 1.512 MB / 0.61 GB, free: 17.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.4208, allocations: 1.156 kB / 0.61 GB, free: 17.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01452/0.4353, allocations: 4.234 MB / 0.6142 GB, free: 16.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.4354, allocations: 5.438 kB / 0.6142 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4354, allocations: 6.094 kB / 0.6142 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00633/0.4417, allocations: 1.792 MB / 0.6159 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.4428, allocations: 197.5 kB / 0.6161 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/0.4621, allocations: 9.319 MB / 0.6252 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.4636, allocations: 166.9 kB / 0.6254 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.4637, allocations: 47.92 kB / 0.6254 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001556/0.4652, allocations: 0.8539 MB / 0.6262 GB, free: 5.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001331/0.4666, allocations: 0.8315 MB / 0.6271 GB, free: 5.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002623/0.4692, allocations: 1.49 MB / 0.6285 GB, free: 3.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.4692, allocations: 4 kB / 0.6285 GB, free: 3.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.0127/0.4819, allocations: 4.21 MB / 0.6326 GB, free: 15.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.482, allocations: 4 kB / 0.6326 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.482, allocations: 8 kB / 0.6326 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006351/0.4883, allocations: 1.792 MB / 0.6344 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4894, allocations: 183.7 kB / 0.6346 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.5113, allocations: 9.31 MB / 0.6437 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.5129, allocations: 155.1 kB / 0.6438 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.513, allocations: 39.98 kB / 0.6438 GB, free: 3.652 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.0003026/0.5133, allocations: 233 kB / 0.6441 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.5135, allocations: 118.5 kB / 0.6442 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.5269, allocations: 3.892 MB / 0.648 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5269, allocations: 19.94 kB / 0.648 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5269, allocations: 0 / 0.648 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.5269, allocations: 3.984 kB / 0.648 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.5425, allocations: 5.548 MB / 0.6534 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.5425, allocations: 0 / 0.6534 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.5432, allocations: 111.8 kB / 0.6535 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006129/0.5494, allocations: 1.745 MB / 0.6552 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.5496, allocations: 20 kB / 0.6552 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/0.5681, allocations: 8.068 MB / 0.6631 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5682, allocations: 4 kB / 0.6631 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.5834, allocations: 4.856 MB / 0.6679 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.5839, allocations: 195.5 kB / 0.6681 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.584, allocations: 20 kB / 0.6681 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.585, allocations: 103.9 kB / 0.6682 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006041/0.5857, allocations: 200.7 kB / 0.6684 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.5857, allocations: 23.98 kB / 0.6684 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006604/0.5864, allocations: 0.5549 MB / 0.6689 GB, free: 9.582 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5864, allocations: 0 / 0.6689 GB, free: 9.582 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001779/0.5882, allocations: 0.6906 MB / 0.6696 GB, free: 8.891 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.0002681/0.5885, allocations: 132.3 kB / 0.6697 GB, free: 8.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01222/0.6007, allocations: 4.212 MB / 0.6738 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.6007, allocations: 0.5625 kB / 0.6738 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004967/0.6057, allocations: 1.564 MB / 0.6754 GB, free: 2.941 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6069, allocations: 85.77 kB / 0.6755 GB, free: 2.855 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.6115, allocations: 2.058 MB / 0.6775 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/0.6122, allocations: 1.081 MB / 0.6785 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004947/0.6127, allocations: 102.6 kB / 0.6786 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6129, allocations: 67.42 kB / 0.6787 GB, free: 15.48 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6129, allocations: 0 / 0.6787 GB, free: 15.48 MB / 494.1 MB Notification: Performance of Templates: time 0.04842/0.6614, allocations: 31.31 MB / 0.7093 GB, free: 216 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)