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.001211/0.001211, allocations: 103 kB / 15.06 MB, free: 1.098 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.291/1.291, allocations: 223.2 MB / 239 MB, free: 5.641 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.001133/0.001133, allocations: 184 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4405/0.4405, allocations: 78.52 MB / 419.8 MB, free: 4.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 12 kB / 499.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1393, allocations: 69.37 MB / 0.5557 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2273/0.3666, allocations: 5.31 MB / 0.5609 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.37, allocations: 1.827 MB / 0.5627 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006318/0.3707, allocations: 13.75 kB / 0.5627 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.3711, allocations: 147.6 kB / 0.5628 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.3726, allocations: 0.6369 MB / 0.5634 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3738, allocations: 0.5153 MB / 0.5639 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.375, allocations: 0.8756 MB / 0.5648 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.3754, allocations: 232.3 kB / 0.565 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000588/0.376, allocations: 489.9 kB / 0.5655 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/0.3766, allocations: 0.5901 MB / 0.5661 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.3767, allocations: 54.31 kB / 0.5661 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.3771, allocations: 168.1 kB / 0.5663 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3773, allocations: 208.1 kB / 0.5665 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.3775, allocations: 205.4 kB / 0.5667 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.3785, allocations: 1.024 MB / 0.5677 GB, free: 36.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3785, allocations: 0.8125 kB / 0.5677 GB, free: 36.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3785, allocations: 2.938 kB / 0.5677 GB, free: 36.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.3785, allocations: 0 / 0.5677 GB, free: 36.46 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.006824/0.3854, allocations: 2.286 MB / 0.5699 GB, free: 35.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3854, allocations: 11.66 kB / 0.5699 GB, free: 35.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.3901, allocations: 0.7745 MB / 0.5707 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3912, allocations: 0.7054 MB / 0.5714 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.3915, allocations: 264 kB / 0.5716 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.3916, allocations: 77.03 kB / 0.5717 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.3937, allocations: 1.156 MB / 0.5728 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3937, allocations: 0 / 0.5728 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.3938, allocations: 33.34 kB / 0.5728 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3938, allocations: 17.47 kB / 0.5729 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.3959, allocations: 1.122 MB / 0.574 GB, free: 34.77 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.005371/0.4013, allocations: 3.685 MB / 0.5775 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.4035, allocations: 1.555 MB / 0.5791 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.506e-05/0.4037, allocations: 17.05 kB / 0.5791 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.4037, allocations: 38.62 kB / 0.5791 GB, free: 31.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.4037, allocations: 0 / 0.5791 GB, free: 31.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02524/0.4289, allocations: 7.937 MB / 0.5869 GB, free: 30.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.429, allocations: 87.45 kB / 0.587 GB, free: 30.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.4303, allocations: 0.8243 MB / 0.5878 GB, free: 29.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.4305, allocations: 45.05 kB / 0.5878 GB, free: 29.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.4308, allocations: 457.7 kB / 0.5882 GB, free: 29.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.4311, allocations: 320.8 kB / 0.5885 GB, free: 29.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.4312, allocations: 20.78 kB / 0.5886 GB, free: 29.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.4313, allocations: 349 kB / 0.5889 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.4328, allocations: 0.7656 MB / 0.5896 GB, free: 28.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.4344, allocations: 0.9038 MB / 0.5905 GB, free: 28.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.4361, allocations: 0.8168 MB / 0.5913 GB, free: 27.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.4361, allocations: 1.344 kB / 0.5913 GB, free: 27.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01532/0.4514, allocations: 5.128 MB / 0.5963 GB, free: 26.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.4517, allocations: 0.8785 MB / 0.5972 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4517, allocations: 3.031 kB / 0.5972 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006824/0.4585, allocations: 2.112 MB / 0.5993 GB, free: 25.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.4597, allocations: 190.8 kB / 0.5994 GB, free: 25.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/0.4823, allocations: 10.02 MB / 0.6092 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.4839, allocations: 206 kB / 0.6094 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.484, allocations: 43.42 kB / 0.6095 GB, free: 20.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.4841, allocations: 4.125 kB / 0.6095 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01358/0.4976, allocations: 4.969 MB / 0.6143 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.4977, allocations: 7.938 kB / 0.6143 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005847/0.5036, allocations: 2.112 MB / 0.6164 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/0.5045, allocations: 195.7 kB / 0.6166 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/0.5233, allocations: 10 MB / 0.6263 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.5248, allocations: 191.9 kB / 0.6265 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.5249, allocations: 39.98 kB / 0.6266 GB, free: 5.105 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 (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.0005042/0.5254, allocations: 301 kB / 0.6269 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.5256, allocations: 110.6 kB / 0.627 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.5378, allocations: 4.818 MB / 0.6317 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.5379, allocations: 11.98 kB / 0.6317 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5379, allocations: 7.891 kB / 0.6317 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5379, allocations: 7.984 kB / 0.6317 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.5537, allocations: 6.532 MB / 0.6381 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.5537, allocations: 0.875 kB / 0.6381 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.5544, allocations: 115.8 kB / 0.6382 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006023/0.5604, allocations: 2.061 MB / 0.6402 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.5606, allocations: 16 kB / 0.6402 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.5788, allocations: 8.663 MB / 0.6487 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5789, allocations: 4.547 kB / 0.6487 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/0.5943, allocations: 5.825 MB / 0.6544 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.5947, allocations: 204.5 kB / 0.6546 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.595, allocations: 16 kB / 0.6546 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.5961, allocations: 139.9 kB / 0.6547 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.5967, allocations: 200.6 kB / 0.6549 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/0.5968, allocations: 20 kB / 0.6549 GB, free: 7.703 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007766/0.5976, allocations: 0.5511 MB / 0.6555 GB, free: 7.141 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5976, allocations: 0 / 0.6555 GB, free: 7.141 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002288/0.5999, allocations: 0.6827 MB / 0.6561 GB, free: 6.457 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 (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.0002876/0.6002, allocations: 130.8 kB / 0.6562 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01204/0.6123, allocations: 4.623 MB / 0.6608 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6123, allocations: 2.25 kB / 0.6608 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004893/0.6172, allocations: 1.744 MB / 0.6625 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.6181, allocations: 75.39 kB / 0.6625 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.6224, allocations: 2.385 MB / 0.6649 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.6232, allocations: 1.097 MB / 0.6659 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005751/0.6238, allocations: 103.8 kB / 0.666 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6241, allocations: 63.42 kB / 0.6661 GB, free: 12.18 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6241, allocations: 5.906 kB / 0.6661 GB, free: 12.18 MB / 478.1 MB Notification: Performance of Templates: time 0.04224/0.6663, allocations: 27.11 MB / 0.6926 GB, free: 1.262 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1) Environment - environmentSimulation: