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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 176.7 kB / 15.42 MB, free: 6.211 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.292/1.292, allocations: 222.9 MB / 239 MB, free: 1.574 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.0007482/0.0007483, allocations: 96.97 kB / 289.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4459/0.4459, allocations: 78.41 MB / 418.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 12 kB / 498.5 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3263, allocations: 68.74 MB / 0.554 GB, free: 39.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005728/0.3321, allocations: 6.419 MB / 0.5602 GB, free: 37.31 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.3356, allocations: 1.912 MB / 0.5621 GB, free: 36.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.3361, allocations: 11.81 kB / 0.5621 GB, free: 36.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.3366, allocations: 159.8 kB / 0.5623 GB, free: 36.47 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.3381, allocations: 0.6145 MB / 0.5629 GB, free: 36.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3393, allocations: 0.5944 MB / 0.5634 GB, free: 36.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3405, allocations: 1.285 MB / 0.5647 GB, free: 35.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.3409, allocations: 265.5 kB / 0.565 GB, free: 35.65 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.3415, allocations: 0.4937 MB / 0.5654 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.3422, allocations: 0.6246 MB / 0.566 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3423, allocations: 51.25 kB / 0.5661 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.3428, allocations: 184.8 kB / 0.5663 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.343, allocations: 212.4 kB / 0.5665 GB, free: 35.24 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.3434, allocations: 0.5329 MB / 0.567 GB, free: 34.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.3444, allocations: 1.37 MB / 0.5683 GB, free: 34.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3444, allocations: 0 / 0.5683 GB, free: 34.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3444, allocations: 5.219 kB / 0.5683 GB, free: 34.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3444, allocations: 0 / 0.5683 GB, free: 34.37 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.006045/0.3505, allocations: 2.221 MB / 0.5705 GB, free: 33.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3505, allocations: 8.938 kB / 0.5705 GB, free: 33.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.3506, allocations: 118.3 kB / 0.5706 GB, free: 33.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.3552, allocations: 0.7691 MB / 0.5714 GB, free: 33.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009042/0.3561, allocations: 0.7354 MB / 0.5721 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.3563, allocations: 255.6 kB / 0.5723 GB, free: 32.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3564, allocations: 72.09 kB / 0.5724 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3583, allocations: 1.094 MB / 0.5735 GB, free: 31.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3583, allocations: 0 / 0.5735 GB, free: 31.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.3584, allocations: 32.03 kB / 0.5735 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3584, allocations: 19.47 kB / 0.5735 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.3603, allocations: 1.024 MB / 0.5745 GB, free: 31.62 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.005702/0.366, allocations: 3.512 MB / 0.578 GB, free: 29.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.368, allocations: 1.444 MB / 0.5794 GB, free: 28.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.3693, allocations: 0.7396 MB / 0.5801 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.3694, allocations: 12.72 kB / 0.5801 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3694, allocations: 49.16 kB / 0.5801 GB, free: 28.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 4.258e-06/0.3694, allocations: 3.938 kB / 0.5802 GB, free: 28.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02076/0.3902, allocations: 6.44 MB / 0.5864 GB, free: 27.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3902, allocations: 91.78 kB / 0.5865 GB, free: 26.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.3912, allocations: 0.8253 MB / 0.5873 GB, free: 26.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.3913, allocations: 40.55 kB / 0.5874 GB, free: 26.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3915, allocations: 455.3 kB / 0.5878 GB, free: 26.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.3918, allocations: 325.3 kB / 0.5881 GB, free: 25.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3919, allocations: 103.1 kB / 0.5882 GB, free: 25.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.392, allocations: 344 kB / 0.5885 GB, free: 25.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3932, allocations: 0.699 MB / 0.5892 GB, free: 25.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.3946, allocations: 0.8266 MB / 0.59 GB, free: 24.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.3971, allocations: 1.506 MB / 0.5915 GB, free: 24.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3972, allocations: 3.125 kB / 0.5915 GB, free: 24.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01286/0.41, allocations: 4.219 MB / 0.5956 GB, free: 23.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.4102, allocations: 159.5 kB / 0.5958 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4102, allocations: 3.469 kB / 0.5958 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006113/0.4163, allocations: 1.786 MB / 0.5975 GB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/0.4172, allocations: 193.3 kB / 0.5977 GB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/0.4359, allocations: 8.583 MB / 0.6061 GB, free: 18.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.4373, allocations: 159.1 kB / 0.6062 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.4375, allocations: 42.58 kB / 0.6063 GB, free: 18.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.4375, allocations: 4.031 kB / 0.6063 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0121/0.4496, allocations: 4.082 MB / 0.6103 GB, free: 16.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.4497, allocations: 5.375 kB / 0.6103 GB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005658/0.4553, allocations: 1.79 MB / 0.612 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/0.4562, allocations: 187.8 kB / 0.6122 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/0.4729, allocations: 8.558 MB / 0.6206 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.4744, allocations: 163 kB / 0.6207 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.4746, allocations: 43.92 kB / 0.6208 GB, free: 6.578 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.0005159/0.4751, allocations: 300.9 kB / 0.621 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.4754, allocations: 106.7 kB / 0.6212 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.4862, allocations: 3.915 MB / 0.625 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4863, allocations: 12 kB / 0.625 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4863, allocations: 4 kB / 0.625 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.4863, allocations: 3.984 kB / 0.625 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.5002, allocations: 5.617 MB / 0.6305 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5003, allocations: 3.938 kB / 0.6305 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.501, allocations: 107.8 kB / 0.6306 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005485/0.5065, allocations: 1.74 MB / 0.6323 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.5067, allocations: 19.98 kB / 0.6323 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/0.5226, allocations: 7.367 MB / 0.6395 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.5227, allocations: 0 / 0.6395 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.536, allocations: 4.821 MB / 0.6442 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.5365, allocations: 191.6 kB / 0.6444 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.5368, allocations: 23.98 kB / 0.6444 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.5378, allocations: 99.83 kB / 0.6445 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006191/0.5385, allocations: 196.7 kB / 0.6447 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.5385, allocations: 27.92 kB / 0.6447 GB, free: 13.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007134/0.5393, allocations: 0.5589 MB / 0.6453 GB, free: 13.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5393, allocations: 0 / 0.6453 GB, free: 13.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002251/0.5415, allocations: 0.6788 MB / 0.6459 GB, free: 12.43 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.0143/0.5558, allocations: 5.401 MB / 0.6512 GB, free: 6.984 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01099/0.5669, allocations: 4.081 MB / 0.6552 GB, free: 2.883 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.5669, allocations: 0.5625 kB / 0.6552 GB, free: 2.883 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004223/0.5712, allocations: 1.517 MB / 0.6567 GB, free: 1.352 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.5722, allocations: 93.14 kB / 0.6568 GB, free: 1.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03676/0.609, allocations: 15.78 MB / 0.6722 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/0.6098, allocations: 1.081 MB / 0.6732 GB, free: 16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.6104, allocations: 110.6 kB / 0.6733 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005574/0.611, allocations: 403.3 kB / 0.6737 GB, free: 15.49 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.611, allocations: 0 / 0.6737 GB, free: 15.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06232/0.6733, allocations: 36.65 MB / 0.7095 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/0.6736, allocations: 228.7 kB / 0.7097 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/3.8, allocations: 0 / 0.7097 GB, free: 10.79 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)