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.001392/0.001393, allocations: 177 kB / 15.42 MB, free: 6.207 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.312/1.312, allocations: 222.9 MB / 239 MB, free: 1.812 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.0007444/0.0007445, allocations: 90.05 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4685/0.4685, allocations: 78.42 MB / 418.9 MB, free: 44.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 12.23 kB / 498.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3635, allocations: 68.76 MB / 0.5539 GB, free: 39.77 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006367/0.3699, allocations: 6.414 MB / 0.5601 GB, free: 37.28 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.3737, allocations: 1.916 MB / 0.562 GB, free: 36.49 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.3746, allocations: 11.62 kB / 0.562 GB, free: 36.49 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006993/0.3753, allocations: 160.7 kB / 0.5622 GB, free: 36.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.3771, allocations: 0.6154 MB / 0.5628 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.3785, allocations: 0.5915 MB / 0.5634 GB, free: 36.02 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.38, allocations: 1.284 MB / 0.5646 GB, free: 35.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.3804, allocations: 255.2 kB / 0.5649 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007716/0.3812, allocations: 0.491 MB / 0.5653 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.382, allocations: 0.6317 MB / 0.566 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3822, allocations: 51.5 kB / 0.566 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.3828, allocations: 185.2 kB / 0.5662 GB, free: 35.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.383, allocations: 210.6 kB / 0.5664 GB, free: 35.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.3836, allocations: 0.5324 MB / 0.5669 GB, free: 34.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.3849, allocations: 1.375 MB / 0.5682 GB, free: 34.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3849, allocations: 0 / 0.5682 GB, free: 34.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3849, allocations: 1.094 kB / 0.5682 GB, free: 34.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3849, allocations: 0 / 0.5682 GB, free: 34.41 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.006484/0.3914, allocations: 2.221 MB / 0.5704 GB, free: 33.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3915, allocations: 8.938 kB / 0.5704 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.3959, allocations: 0.7616 MB / 0.5712 GB, free: 33.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.3969, allocations: 0.7435 MB / 0.5719 GB, free: 32.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.3971, allocations: 256 kB / 0.5721 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.3972, allocations: 74.53 kB / 0.5722 GB, free: 32.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.3991, allocations: 1.095 MB / 0.5733 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3991, allocations: 0 / 0.5733 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.3992, allocations: 25.69 kB / 0.5733 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3992, allocations: 20.19 kB / 0.5733 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.4011, allocations: 1.022 MB / 0.5743 GB, free: 31.76 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.005037/0.4062, allocations: 3.51 MB / 0.5777 GB, free: 29.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.4082, allocations: 1.456 MB / 0.5792 GB, free: 28.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.4094, allocations: 0.743 MB / 0.5799 GB, free: 28.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.4096, allocations: 16.7 kB / 0.5799 GB, free: 28.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.4096, allocations: 38.5 kB / 0.5799 GB, free: 28.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.4096, allocations: 0 / 0.5799 GB, free: 28.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02204/0.4316, allocations: 6.44 MB / 0.5862 GB, free: 27.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.4317, allocations: 92.95 kB / 0.5863 GB, free: 27.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4328, allocations: 0.8266 MB / 0.5871 GB, free: 26.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.433, allocations: 44.67 kB / 0.5872 GB, free: 26.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.4334, allocations: 453.7 kB / 0.5876 GB, free: 26.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.4338, allocations: 329.8 kB / 0.5879 GB, free: 26.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.4339, allocations: 99.22 kB / 0.588 GB, free: 26.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.434, allocations: 347.2 kB / 0.5883 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.4354, allocations: 0.6951 MB / 0.589 GB, free: 25.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.4371, allocations: 0.829 MB / 0.5898 GB, free: 25.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.4398, allocations: 1.51 MB / 0.5913 GB, free: 24.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4398, allocations: 0 / 0.5913 GB, free: 24.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01383/0.4537, allocations: 4.212 MB / 0.5954 GB, free: 23.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.4538, allocations: 163.5 kB / 0.5956 GB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4538, allocations: 3.453 kB / 0.5956 GB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006437/0.4603, allocations: 1.784 MB / 0.5973 GB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4613, allocations: 191.3 kB / 0.5975 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/0.4825, allocations: 8.587 MB / 0.6059 GB, free: 18.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4842, allocations: 163.2 kB / 0.6061 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.4843, allocations: 38.3 kB / 0.6061 GB, free: 18.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4843, allocations: 4.5 kB / 0.6061 GB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01309/0.4974, allocations: 4.077 MB / 0.6101 GB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.4975, allocations: 1.375 kB / 0.6101 GB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006113/0.5036, allocations: 1.794 MB / 0.6118 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/0.5046, allocations: 181.8 kB / 0.612 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.5212, allocations: 8.571 MB / 0.6204 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.5226, allocations: 159 kB / 0.6205 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.5227, allocations: 35.98 kB / 0.6206 GB, free: 6.773 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 (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.0005155/0.5232, allocations: 308.9 kB / 0.6208 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.5234, allocations: 106.7 kB / 0.621 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.5343, allocations: 3.912 MB / 0.6248 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.5343, allocations: 8 kB / 0.6248 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5344, allocations: 7.922 kB / 0.6248 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.5344, allocations: 3.984 kB / 0.6248 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.5483, allocations: 5.617 MB / 0.6303 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5483, allocations: 0 / 0.6303 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.5489, allocations: 115.8 kB / 0.6304 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005563/0.5545, allocations: 1.744 MB / 0.6321 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.5547, allocations: 20 kB / 0.6321 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/0.5707, allocations: 7.354 MB / 0.6393 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5708, allocations: 11.88 kB / 0.6393 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.585, allocations: 4.821 MB / 0.644 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.5855, allocations: 191.6 kB / 0.6442 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5856, allocations: 16 kB / 0.6442 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009507/0.5866, allocations: 99.83 kB / 0.6443 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006246/0.5872, allocations: 200.6 kB / 0.6445 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.5873, allocations: 24 kB / 0.6445 GB, free: 13.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007406/0.5881, allocations: 0.5549 MB / 0.6451 GB, free: 13.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5881, allocations: 0 / 0.6451 GB, free: 13.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002087/0.5902, allocations: 0.6827 MB / 0.6457 GB, free: 12.62 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 (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.0002735/0.5904, allocations: 132.7 kB / 0.6459 GB, free: 12.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01144/0.6019, allocations: 4.088 MB / 0.6498 GB, free: 8.375 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.6019, allocations: 4 kB / 0.6498 GB, free: 8.371 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004568/0.6065, allocations: 1.502 MB / 0.6513 GB, free: 6.852 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6077, allocations: 87.42 kB / 0.6514 GB, free: 6.766 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.6116, allocations: 2.381 MB / 0.6537 GB, free: 4.359 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.6123, allocations: 1.078 MB / 0.6548 GB, free: 3.254 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004844/0.6128, allocations: 98.67 kB / 0.6549 GB, free: 3.152 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.613, allocations: 63.42 kB / 0.6549 GB, free: 3.09 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.613, allocations: 0 / 0.6549 GB, free: 3.09 MB / 458.7 MB Notification: Performance of Templates: time 0.04157/0.6545, allocations: 27.92 MB / 0.6822 GB, free: 7.227 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)