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.005139/0.005139, allocations: 167.6 kB / 15.13 MB, free: 5.602 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.285/1.285, allocations: 223.3 MB / 239.1 MB, free: 1.734 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007341/0.0007341, allocations: 101.6 kB / 290.3 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4653/0.4653, allocations: 78.62 MB / 420 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 11.98 kB / 499.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3502, allocations: 69.36 MB / 0.5559 GB, free: 38.64 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006613/0.3569, allocations: 5.596 MB / 0.5614 GB, free: 37.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004149/0.3611, allocations: 1.797 MB / 0.5631 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009725/0.3621, allocations: 14.81 kB / 0.5631 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.3627, allocations: 151 kB / 0.5633 GB, free: 36.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.3648, allocations: 0.5799 MB / 0.5638 GB, free: 35.95 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.3666, allocations: 0.5289 MB / 0.5644 GB, free: 35.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.3686, allocations: 1.225 MB / 0.5656 GB, free: 35.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.3691, allocations: 234.1 kB / 0.5658 GB, free: 34.94 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.3702, allocations: 489 kB / 0.5662 GB, free: 34.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008305/0.371, allocations: 0.6092 MB / 0.5668 GB, free: 34.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.3711, allocations: 56.73 kB / 0.5669 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.3717, allocations: 168.8 kB / 0.5671 GB, free: 34.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.3719, allocations: 201.1 kB / 0.5672 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.3721, allocations: 212.1 kB / 0.5675 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008885/0.373, allocations: 1.068 MB / 0.5685 GB, free: 33.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.373, allocations: 0 / 0.5685 GB, free: 33.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.373, allocations: 4 kB / 0.5685 GB, free: 33.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.373, allocations: 3.938 kB / 0.5685 GB, free: 33.82 MB / 426.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.007123/0.3801, allocations: 2.286 MB / 0.5707 GB, free: 32.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3802, allocations: 8.781 kB / 0.5707 GB, free: 32.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.385, allocations: 0.7789 MB / 0.5715 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3863, allocations: 0.7073 MB / 0.5722 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.3865, allocations: 262.5 kB / 0.5724 GB, free: 31.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3867, allocations: 77.78 kB / 0.5725 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.3893, allocations: 1.163 MB / 0.5737 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3893, allocations: 1.188 kB / 0.5737 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3894, allocations: 29.66 kB / 0.5737 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.3894, allocations: 20.23 kB / 0.5737 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.392, allocations: 1.117 MB / 0.5748 GB, free: 31.18 MB / 426.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.006372/0.3984, allocations: 3.589 MB / 0.5783 GB, free: 29.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.4007, allocations: 1.544 MB / 0.5798 GB, free: 28.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.4021, allocations: 0.8204 MB / 0.5806 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.725e-05/0.4022, allocations: 13.41 kB / 0.5806 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.4023, allocations: 49.14 kB / 0.5807 GB, free: 27.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 3.636e-06/0.4023, allocations: 0 / 0.5807 GB, free: 27.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02604/0.4283, allocations: 7.933 MB / 0.5884 GB, free: 26.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.4284, allocations: 97.66 kB / 0.5885 GB, free: 26.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.4296, allocations: 0.8168 MB / 0.5893 GB, free: 25.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.4298, allocations: 40.89 kB / 0.5893 GB, free: 25.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.4301, allocations: 460.1 kB / 0.5898 GB, free: 25.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.4305, allocations: 321.5 kB / 0.5901 GB, free: 25.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.4307, allocations: 26.25 kB / 0.5901 GB, free: 25.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.4308, allocations: 348.6 kB / 0.5904 GB, free: 24.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.4325, allocations: 0.77 MB / 0.5912 GB, free: 24.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.4345, allocations: 0.8983 MB / 0.5921 GB, free: 24.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.4363, allocations: 0.8291 MB / 0.5929 GB, free: 24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4363, allocations: 0 / 0.5929 GB, free: 24 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01547/0.4518, allocations: 5.115 MB / 0.5979 GB, free: 22.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.4519, allocations: 157.9 kB / 0.598 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.4519, allocations: 6.594 kB / 0.598 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007283/0.4592, allocations: 2.119 MB / 0.6001 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4603, allocations: 194.3 kB / 0.6003 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/0.4838, allocations: 9.57 MB / 0.6096 GB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4856, allocations: 208.9 kB / 0.6098 GB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.4858, allocations: 39.75 kB / 0.6099 GB, free: 17.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4859, allocations: 4 kB / 0.6099 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02264/0.5085, allocations: 4.973 MB / 0.6147 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.5086, allocations: 4 kB / 0.6147 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.5187, allocations: 2.112 MB / 0.6168 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.5203, allocations: 187.7 kB / 0.617 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0316/0.5519, allocations: 9.551 MB / 0.6263 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.5541, allocations: 191.1 kB / 0.6265 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.5543, allocations: 35.98 kB / 0.6265 GB, free: 1.363 MB / 426.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 (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.0007212/0.5551, allocations: 308.9 kB / 0.6268 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.5554, allocations: 106.7 kB / 0.6269 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/0.5767, allocations: 4.832 MB / 0.6316 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.5768, allocations: 12 kB / 0.6317 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5768, allocations: 0 / 0.6317 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/0.5769, allocations: 3.984 kB / 0.6317 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02696/0.6038, allocations: 6.536 MB / 0.638 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.6039, allocations: 0 / 0.638 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.605, allocations: 111.9 kB / 0.6381 GB, free: 5.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01068/0.6157, allocations: 2.057 MB / 0.6402 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.616, allocations: 16 kB / 0.6402 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03082/0.6468, allocations: 8.214 MB / 0.6482 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6469, allocations: 0 / 0.6482 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02652/0.6734, allocations: 5.809 MB / 0.6539 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006077/0.6741, allocations: 199.5 kB / 0.6541 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.6744, allocations: 23.94 kB / 0.6541 GB, free: 4.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.6761, allocations: 135.9 kB / 0.6542 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000909/0.677, allocations: 204.6 kB / 0.6544 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.6772, allocations: 27.94 kB / 0.6544 GB, free: 4.422 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.6783, allocations: 0.5471 MB / 0.655 GB, free: 3.863 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6783, allocations: 0 / 0.655 GB, free: 3.863 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003084/0.6814, allocations: 0.6866 MB / 0.6556 GB, free: 3.176 MB / 458.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 (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.000347/0.6818, allocations: 127.1 kB / 0.6558 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02048/0.7023, allocations: 4.636 MB / 0.6603 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.7023, allocations: 0 / 0.6603 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008247/0.7106, allocations: 1.736 MB / 0.662 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.712, allocations: 100.9 kB / 0.6621 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.7179, allocations: 2.347 MB / 0.6644 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/0.7188, allocations: 1.082 MB / 0.6654 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000854/0.7197, allocations: 102.7 kB / 0.6655 GB, free: 8.941 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.7201, allocations: 59.42 kB / 0.6656 GB, free: 8.883 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7201, allocations: 0 / 0.6656 GB, free: 8.883 MB / 474.7 MB Notification: Performance of Templates: time 0.05201/0.7721, allocations: 27.13 MB / 0.6921 GB, free: 13.8 MB / 0.4948 GB 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)