Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 168.9 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009488, allocations: 83.53 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5387/0.5387, allocations: 78.62 MB / 421 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004526, allocations: 12 kB / 0.4894 GB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3441, allocations: 69.35 MB / 0.5571 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005548/0.3497, allocations: 5.963 MB / 0.563 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00476/0.3545, allocations: 1.884 MB / 0.5648 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.356, allocations: 11.94 kB / 0.5648 GB, free: 10.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.3568, allocations: 170.9 kB / 0.565 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.3588, allocations: 0.6135 MB / 0.5656 GB, free: 10.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.36, allocations: 0.583 MB / 0.5661 GB, free: 9.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3611, allocations: 1.288 MB / 0.5674 GB, free: 8.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.3615, allocations: 255.7 kB / 0.5676 GB, free: 8.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.3619, allocations: 0.5015 MB / 0.5681 GB, free: 7.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.3624, allocations: 0.6219 MB / 0.5687 GB, free: 6.879 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.3625, allocations: 52 kB / 0.5688 GB, free: 6.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.3629, allocations: 179.9 kB / 0.569 GB, free: 6.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3631, allocations: 214.8 kB / 0.5692 GB, free: 6.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.3634, allocations: 0.5529 MB / 0.5697 GB, free: 5.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.3641, allocations: 1.073 MB / 0.5708 GB, free: 4.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3641, allocations: 4 kB / 0.5708 GB, free: 4.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3641, allocations: 0 / 0.5708 GB, free: 4.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.3641, allocations: 0 / 0.5708 GB, free: 4.801 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006258/0.3704, allocations: 2.275 MB / 0.573 GB, free: 2.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3705, allocations: 8.031 kB / 0.573 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.375, allocations: 0.7827 MB / 0.5738 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3761, allocations: 0.7321 MB / 0.5745 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.3764, allocations: 268.2 kB / 0.5747 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3765, allocations: 72 kB / 0.5748 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.3786, allocations: 1.172 MB / 0.5759 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3786, allocations: 0 / 0.5759 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.3787, allocations: 28 kB / 0.576 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.3787, allocations: 16 kB / 0.576 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.381, allocations: 1.128 MB / 0.5771 GB, free: 14.18 MB / 394.7 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.005888/0.3869, allocations: 3.582 MB / 0.5806 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.3894, allocations: 1.561 MB / 0.5821 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.3908, allocations: 0.8159 MB / 0.5829 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.391, allocations: 17 kB / 0.5829 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.391, allocations: 39.56 kB / 0.583 GB, free: 7.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=89): time 5.35e-06/0.391, allocations: 0 / 0.583 GB, free: 7.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=89): time 0.02497/0.416, allocations: 7.996 MB / 0.5908 GB, free: 15.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.4161, allocations: 86.11 kB / 0.5908 GB, free: 15.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4173, allocations: 0.8242 MB / 0.5917 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.4175, allocations: 41.7 kB / 0.5917 GB, free: 14.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.4179, allocations: 448.6 kB / 0.5921 GB, free: 14.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.4182, allocations: 331.3 kB / 0.5924 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.4184, allocations: 101.7 kB / 0.5925 GB, free: 13.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4185, allocations: 353.9 kB / 0.5929 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.4201, allocations: 0.7717 MB / 0.5936 GB, free: 12.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.4218, allocations: 0.9095 MB / 0.5945 GB, free: 11.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.425, allocations: 1.658 MB / 0.5961 GB, free: 10.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.425, allocations: 4 kB / 0.5961 GB, free: 10.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01391/0.4389, allocations: 5.14 MB / 0.6012 GB, free: 5.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.4391, allocations: 162 kB / 0.6013 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4391, allocations: 0 / 0.6013 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006279/0.4454, allocations: 2.089 MB / 0.6033 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/0.4464, allocations: 207.6 kB / 0.6035 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.4667, allocations: 9.587 MB / 0.6129 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.4682, allocations: 203 kB / 0.6131 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.4683, allocations: 39.98 kB / 0.6131 GB, free: 8.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.4683, allocations: 4 kB / 0.6131 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/0.4819, allocations: 4.991 MB / 0.618 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.482, allocations: 7.984 kB / 0.618 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006349/0.4883, allocations: 2.093 MB / 0.6201 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/0.4893, allocations: 187.7 kB / 0.6202 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/0.5102, allocations: 9.551 MB / 0.6296 GB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5116, allocations: 199 kB / 0.6298 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/0.5117, allocations: 35.94 kB / 0.6298 GB, free: 7.379 MB / 442.7 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 (106): * Single equations (assignments): 105 * 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.0004993/0.5122, allocations: 318.5 kB / 0.6301 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.5124, allocations: 106.7 kB / 0.6302 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.5257, allocations: 4.833 MB / 0.6349 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.5257, allocations: 8 kB / 0.6349 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5258, allocations: 0 / 0.6349 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.5258, allocations: 3.984 kB / 0.6349 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.5415, allocations: 6.547 MB / 0.6413 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5415, allocations: 0 / 0.6413 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.5422, allocations: 119.9 kB / 0.6414 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005939/0.5481, allocations: 2.049 MB / 0.6434 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.5483, allocations: 20 kB / 0.6435 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.5661, allocations: 8.238 MB / 0.6515 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5662, allocations: 0 / 0.6515 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.5816, allocations: 5.821 MB / 0.6572 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.582, allocations: 195.6 kB / 0.6574 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.5822, allocations: 19.98 kB / 0.6574 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009465/0.5832, allocations: 139.8 kB / 0.6575 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006335/0.5838, allocations: 204.6 kB / 0.6577 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.5839, allocations: 23.98 kB / 0.6578 GB, free: 10.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007109/0.5846, allocations: 0.5589 MB / 0.6583 GB, free: 9.812 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5846, allocations: 0 / 0.6583 GB, free: 9.812 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001892/0.5865, allocations: 0.6788 MB / 0.659 GB, free: 9.133 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * 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.0002651/0.5868, allocations: 133.9 kB / 0.6591 GB, free: 8.992 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01187/0.5987, allocations: 4.63 MB / 0.6636 GB, free: 4.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5987, allocations: 0.5625 kB / 0.6636 GB, free: 4.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005563/0.6043, allocations: 1.745 MB / 0.6653 GB, free: 2.578 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.6053, allocations: 87.44 kB / 0.6654 GB, free: 2.492 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.6091, allocations: 2.507 MB / 0.6678 GB, free: 15.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.6098, allocations: 1.078 MB / 0.6689 GB, free: 14.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.6101, allocations: 63.42 kB / 0.669 GB, free: 14.77 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6101, allocations: 0 / 0.669 GB, free: 14.77 MB / 490.7 MB Notification: Performance of Templates: time 0.2671/0.8772, allocations: 19.97 MB / 0.6885 GB, free: 116.1 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)