Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009058/0.0009057, allocations: 98.88 kB / 16.02 MB, free: 76 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.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.34 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.001164/0.001165, allocations: 184.5 kB / 291.3 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5438/0.5438, allocations: 91.92 MB / 434.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 8 kB / 0.5054 GB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3629, allocations: 72.47 MB / 0.5762 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.00444/0.3674, allocations: 5.989 MB / 0.582 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.3708, allocations: 1.895 MB / 0.5839 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008507/0.3717, allocations: 14.88 kB / 0.5839 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.3722, allocations: 159.2 kB / 0.584 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.3738, allocations: 0.6077 MB / 0.5846 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.375, allocations: 0.5945 MB / 0.5852 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3763, allocations: 1.281 MB / 0.5865 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.3767, allocations: 252.6 kB / 0.5867 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.3774, allocations: 0.4906 MB / 0.5872 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.3781, allocations: 0.63 MB / 0.5878 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.3782, allocations: 50.25 kB / 0.5878 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.3787, allocations: 181.5 kB / 0.588 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3788, allocations: 222.5 kB / 0.5882 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.3792, allocations: 0.5503 MB / 0.5888 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008688/0.3801, allocations: 1.07 MB / 0.5898 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3801, allocations: 0 / 0.5898 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3801, allocations: 6.719 kB / 0.5898 GB, free: 28.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.3801, allocations: 0 / 0.5898 GB, free: 28.36 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007277/0.3874, allocations: 2.276 MB / 0.592 GB, free: 27.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3875, allocations: 9.812 kB / 0.5921 GB, free: 27.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005069/0.3926, allocations: 0.7654 MB / 0.5928 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.3939, allocations: 0.7413 MB / 0.5935 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.3942, allocations: 268.8 kB / 0.5938 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.3943, allocations: 73.91 kB / 0.5939 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3967, allocations: 1.175 MB / 0.595 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3967, allocations: 1.344 kB / 0.595 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.3968, allocations: 29.62 kB / 0.595 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.3968, allocations: 17 kB / 0.595 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.3992, allocations: 1.123 MB / 0.5961 GB, free: 25.67 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.005966/0.4052, allocations: 3.575 MB / 0.5996 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.4078, allocations: 1.563 MB / 0.6012 GB, free: 22.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.4095, allocations: 0.8165 MB / 0.602 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.446e-05/0.4096, allocations: 23.67 kB / 0.602 GB, free: 22.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4096, allocations: 43.59 kB / 0.602 GB, free: 22.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.776e-06/0.4096, allocations: 0 / 0.602 GB, free: 22.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.0287/0.4383, allocations: 7.985 MB / 0.6098 GB, free: 20.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.4384, allocations: 91.61 kB / 0.6099 GB, free: 20.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.44, allocations: 0.8249 MB / 0.6107 GB, free: 20.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.4403, allocations: 46.2 kB / 0.6108 GB, free: 20.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.4407, allocations: 451.5 kB / 0.6112 GB, free: 20.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/0.4413, allocations: 327.1 kB / 0.6115 GB, free: 19.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.4415, allocations: 101.9 kB / 0.6116 GB, free: 19.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4416, allocations: 349.5 kB / 0.6119 GB, free: 19.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.4434, allocations: 0.772 MB / 0.6127 GB, free: 19.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.4453, allocations: 0.9078 MB / 0.6136 GB, free: 18.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/0.4489, allocations: 1.662 MB / 0.6152 GB, free: 18.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4489, allocations: 0 / 0.6152 GB, free: 18.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01575/0.4647, allocations: 5.145 MB / 0.6202 GB, free: 16.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.4648, allocations: 157.9 kB / 0.6204 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4649, allocations: 0 / 0.6204 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006263/0.4711, allocations: 2.104 MB / 0.6224 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.4721, allocations: 195.7 kB / 0.6226 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/0.4923, allocations: 9.597 MB / 0.632 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.494, allocations: 199 kB / 0.6322 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.4943, allocations: 39.98 kB / 0.6322 GB, free: 3.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.4943, allocations: 4 kB / 0.6322 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01413/0.5084, allocations: 4.991 MB / 0.6371 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.5085, allocations: 0 / 0.6371 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006999/0.5155, allocations: 2.108 MB / 0.6391 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.5166, allocations: 187.8 kB / 0.6393 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/0.5389, allocations: 9.542 MB / 0.6486 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.5406, allocations: 199 kB / 0.6488 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.5409, allocations: 35.98 kB / 0.6489 GB, free: 2.395 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 (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.00065/0.5415, allocations: 308.9 kB / 0.6492 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.5418, allocations: 110.7 kB / 0.6493 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.5565, allocations: 4.841 MB / 0.654 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5565, allocations: 8 kB / 0.654 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5565, allocations: 0 / 0.654 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.5566, allocations: 3.984 kB / 0.654 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/0.574, allocations: 6.54 MB / 0.6604 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.574, allocations: 0 / 0.6604 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.5747, allocations: 119.8 kB / 0.6605 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006648/0.5814, allocations: 2.057 MB / 0.6625 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.5816, allocations: 16 kB / 0.6625 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/0.6007, allocations: 8.238 MB / 0.6706 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6007, allocations: 3.984 kB / 0.6706 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/0.6175, allocations: 5.813 MB / 0.6763 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.6179, allocations: 191.6 kB / 0.6764 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.6183, allocations: 20 kB / 0.6765 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.6195, allocations: 139.8 kB / 0.6766 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006322/0.6201, allocations: 204.5 kB / 0.6768 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.6202, allocations: 20 kB / 0.6768 GB, free: 5.418 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007456/0.621, allocations: 0.5628 MB / 0.6774 GB, free: 4.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.621, allocations: 0 / 0.6774 GB, free: 4.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002077/0.623, allocations: 0.6827 MB / 0.678 GB, free: 4.16 MB / 478.1 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.000266/0.6233, allocations: 128.5 kB / 0.6781 GB, free: 4.023 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0128/0.6361, allocations: 4.638 MB / 0.6827 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6362, allocations: 0 / 0.6827 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005166/0.6414, allocations: 1.744 MB / 0.6844 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6426, allocations: 92.84 kB / 0.6845 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.6468, allocations: 2.493 MB / 0.6869 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.6475, allocations: 1.082 MB / 0.688 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.6479, allocations: 59.42 kB / 0.688 GB, free: 9.812 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6479, allocations: 3.938 kB / 0.688 GB, free: 9.809 MB / 494.1 MB Notification: Performance of Templates: time 0.02935/0.6773, allocations: 19.98 MB / 0.7075 GB, free: 5.82 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)