Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009926/0.0009928, allocations: 107.7 kB / 16.29 MB, free: 6.43 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.668 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.001217/0.001217, allocations: 200.4 kB / 290.2 MB, free: 2.375 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4527/0.4527, allocations: 78.52 MB / 418.9 MB, free: 3.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 75.88 kB / 498.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 68.19 MB / 0.5531 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2055/0.3238, allocations: 6.062 MB / 0.559 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.3269, allocations: 1.86 MB / 0.5608 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005076/0.3274, allocations: 12.84 kB / 0.5608 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.3279, allocations: 215.9 kB / 0.561 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.3293, allocations: 0.6894 MB / 0.5617 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3305, allocations: 0.6286 MB / 0.5623 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.3315, allocations: 1.349 MB / 0.5636 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.3319, allocations: 293.6 kB / 0.5639 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.3324, allocations: 0.553 MB / 0.5644 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.333, allocations: 0.6826 MB / 0.5651 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3331, allocations: 100.5 kB / 0.5652 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.3335, allocations: 237.4 kB / 0.5654 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3337, allocations: 263.6 kB / 0.5657 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.334, allocations: 0.583 MB / 0.5663 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3351, allocations: 1.461 MB / 0.5677 GB, free: 34.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3351, allocations: 0 / 0.5677 GB, free: 34.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3351, allocations: 0 / 0.5677 GB, free: 34.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3352, allocations: 0 / 0.5677 GB, free: 34.39 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.006964/0.3421, allocations: 2.444 MB / 0.5701 GB, free: 33.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3422, allocations: 15.28 kB / 0.5701 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.3468, allocations: 0.7643 MB / 0.5708 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3479, allocations: 0.7405 MB / 0.5715 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.3482, allocations: 253.6 kB / 0.5718 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.3483, allocations: 82.66 kB / 0.5719 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.3504, allocations: 1.091 MB / 0.5729 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.3504, allocations: 1.344 kB / 0.5729 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/0.3505, allocations: 24.41 kB / 0.573 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.3505, allocations: 18.88 kB / 0.573 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.3524, allocations: 1.035 MB / 0.574 GB, free: 32.79 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.005208/0.3576, allocations: 3.486 MB / 0.5774 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.3596, allocations: 1.447 MB / 0.5788 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.3609, allocations: 0.7373 MB / 0.5795 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.361, allocations: 18.58 kB / 0.5795 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.361, allocations: 40.66 kB / 0.5796 GB, free: 30.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/0.3611, allocations: 0 / 0.5796 GB, free: 30.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02274/0.3838, allocations: 6.435 MB / 0.5859 GB, free: 29.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3839, allocations: 87.45 kB / 0.5859 GB, free: 29.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3849, allocations: 0.8329 MB / 0.5868 GB, free: 28.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.3851, allocations: 46.86 kB / 0.5868 GB, free: 28.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.3853, allocations: 450 kB / 0.5872 GB, free: 28.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.3856, allocations: 327.1 kB / 0.5875 GB, free: 28.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.386, allocations: 193.3 kB / 0.5877 GB, free: 28.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.3861, allocations: 350.4 kB / 0.5881 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.3875, allocations: 0.7107 MB / 0.5888 GB, free: 27.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.389, allocations: 0.8235 MB / 0.5896 GB, free: 27.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.3919, allocations: 1.504 MB / 0.591 GB, free: 26.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3919, allocations: 2.031 kB / 0.591 GB, free: 26.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01334/0.4053, allocations: 4.218 MB / 0.5952 GB, free: 25.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4053, allocations: 7.359 kB / 0.5952 GB, free: 25.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.4054, allocations: 2.625 kB / 0.5952 GB, free: 25.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006376/0.4117, allocations: 1.787 MB / 0.5969 GB, free: 25.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.4129, allocations: 186.9 kB / 0.5971 GB, free: 25.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.4339, allocations: 9.339 MB / 0.6062 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.4355, allocations: 156.2 kB / 0.6064 GB, free: 20.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.4356, allocations: 46.5 kB / 0.6064 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001667/0.4373, allocations: 0.845 MB / 0.6072 GB, free: 20.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001472/0.4388, allocations: 0.8189 MB / 0.608 GB, free: 19.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002665/0.4415, allocations: 1.482 MB / 0.6095 GB, free: 19.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.4415, allocations: 2.188 kB / 0.6095 GB, free: 19.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01264/0.4541, allocations: 4.203 MB / 0.6136 GB, free: 16.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4542, allocations: 8 kB / 0.6136 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4542, allocations: 0 / 0.6136 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005444/0.4596, allocations: 1.795 MB / 0.6153 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/0.4605, allocations: 183.7 kB / 0.6155 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.4784, allocations: 9.308 MB / 0.6246 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.4798, allocations: 159 kB / 0.6248 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.942e-05/0.4799, allocations: 39.98 kB / 0.6248 GB, free: 5.195 MB / 430.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.0003697/0.4803, allocations: 232.1 kB / 0.625 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.4805, allocations: 106.7 kB / 0.6251 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.4916, allocations: 3.905 MB / 0.6289 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4916, allocations: 8 kB / 0.6289 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4916, allocations: 3.984 kB / 0.6289 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.4916, allocations: 11.86 kB / 0.629 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.506, allocations: 5.621 MB / 0.6344 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.5061, allocations: 0.8125 kB / 0.6344 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006663/0.5067, allocations: 111.8 kB / 0.6346 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005736/0.5125, allocations: 1.74 MB / 0.6362 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.5127, allocations: 16 kB / 0.6363 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.5304, allocations: 8.078 MB / 0.6442 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.5305, allocations: 10.05 kB / 0.6442 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.5447, allocations: 4.813 MB / 0.6489 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.5451, allocations: 199.6 kB / 0.6491 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.5452, allocations: 12 kB / 0.6491 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.5462, allocations: 99.88 kB / 0.6492 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000585/0.5468, allocations: 212.7 kB / 0.6494 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.97e-05/0.5469, allocations: 24.98 kB / 0.6494 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006699/0.5476, allocations: 0.555 MB / 0.6499 GB, free: 11.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5476, allocations: 0 / 0.6499 GB, free: 11.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001876/0.5495, allocations: 0.6788 MB / 0.6506 GB, free: 10.4 MB / 462.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.0002685/0.5497, allocations: 140.1 kB / 0.6507 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01122/0.561, allocations: 4.189 MB / 0.6548 GB, free: 6.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.561, allocations: 4 kB / 0.6548 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004377/0.5654, allocations: 1.553 MB / 0.6563 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008228/0.5663, allocations: 92.62 kB / 0.6564 GB, free: 4.402 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.5701, allocations: 1.976 MB / 0.6584 GB, free: 2.422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.5707, allocations: 1.074 MB / 0.6594 GB, free: 1.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004142/0.5711, allocations: 108.4 kB / 0.6595 GB, free: 1.215 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5713, allocations: 63.42 kB / 0.6596 GB, free: 1.152 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5713, allocations: 0 / 0.6596 GB, free: 1.152 MB / 462.1 MB Notification: Performance of Templates: time 0.04285/0.6142, allocations: 31.4 MB / 0.6902 GB, free: 1.941 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)