Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.006828/0.006834, allocations: 100.3 kB / 15.87 MB, free: 6.332 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.353/1.353, allocations: 222.9 MB / 239.5 MB, free: 4.848 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.001498/0.001498, allocations: 192.5 kB / 289.8 MB, free: 2.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5374/0.5374, allocations: 91.91 MB / 431.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 83.86 kB / 0.5019 GB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.348, allocations: 71.26 MB / 0.5714 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005556/0.3536, allocations: 6.455 MB / 0.5777 GB, free: 32.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.3572, allocations: 1.909 MB / 0.5796 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.3583, allocations: 15.12 kB / 0.5796 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.359, allocations: 159 kB / 0.5798 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.3608, allocations: 0.6212 MB / 0.5804 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.3621, allocations: 0.5901 MB / 0.581 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.3635, allocations: 1.284 MB / 0.5822 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.3639, allocations: 252.2 kB / 0.5824 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006071/0.3645, allocations: 0.5181 MB / 0.583 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.3651, allocations: 0.6591 MB / 0.5836 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3652, allocations: 63.03 kB / 0.5837 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.3657, allocations: 194.4 kB / 0.5838 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3659, allocations: 229.4 kB / 0.5841 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.3663, allocations: 0.5519 MB / 0.5846 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.3672, allocations: 1.087 MB / 0.5857 GB, free: 28.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3672, allocations: 0 / 0.5857 GB, free: 28.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3672, allocations: 0 / 0.5857 GB, free: 28.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.3672, allocations: 3.625 kB / 0.5857 GB, free: 28.58 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.007622/0.3748, allocations: 2.441 MB / 0.5881 GB, free: 27.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3749, allocations: 9.5 kB / 0.5881 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.3799, allocations: 0.7691 MB / 0.5888 GB, free: 27.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3812, allocations: 0.7391 MB / 0.5895 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.3815, allocations: 249.2 kB / 0.5898 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.3817, allocations: 84.8 kB / 0.5899 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.384, allocations: 1.091 MB / 0.5909 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.384, allocations: 4 kB / 0.5909 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-05/0.3841, allocations: 29.66 kB / 0.5909 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3842, allocations: 22.09 kB / 0.591 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.3863, allocations: 1.025 MB / 0.592 GB, free: 25.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.005978/0.3923, allocations: 3.506 MB / 0.5954 GB, free: 23.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.3946, allocations: 1.452 MB / 0.5968 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.396, allocations: 0.742 MB / 0.5975 GB, free: 22.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.3961, allocations: 20.03 kB / 0.5976 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3962, allocations: 43.88 kB / 0.5976 GB, free: 22.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.106e-06/0.3962, allocations: 0 / 0.5976 GB, free: 22.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02558/0.4218, allocations: 6.438 MB / 0.6039 GB, free: 21.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.4219, allocations: 87.08 kB / 0.604 GB, free: 21.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.4232, allocations: 0.8272 MB / 0.6048 GB, free: 20.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.4235, allocations: 41.64 kB / 0.6048 GB, free: 20.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.4238, allocations: 458.7 kB / 0.6053 GB, free: 20.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.4242, allocations: 323.2 kB / 0.6056 GB, free: 20.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.4246, allocations: 198.7 kB / 0.6057 GB, free: 20 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.4247, allocations: 345.3 kB / 0.6061 GB, free: 19.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.4263, allocations: 0.7024 MB / 0.6068 GB, free: 19.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4279, allocations: 0.831 MB / 0.6076 GB, free: 19.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.431, allocations: 1.503 MB / 0.609 GB, free: 18.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.4311, allocations: 0 / 0.609 GB, free: 18.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01537/0.4465, allocations: 4.219 MB / 0.6132 GB, free: 17.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.4465, allocations: 7.297 kB / 0.6132 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4466, allocations: 5.438 kB / 0.6132 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006558/0.4531, allocations: 1.79 MB / 0.6149 GB, free: 16.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4542, allocations: 184.5 kB / 0.6151 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01824/0.4725, allocations: 8.602 MB / 0.6235 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4741, allocations: 159 kB / 0.6237 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.4743, allocations: 43.98 kB / 0.6237 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001646/0.4759, allocations: 0.8461 MB / 0.6245 GB, free: 7.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001309/0.4773, allocations: 0.8236 MB / 0.6253 GB, free: 7.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002476/0.4797, allocations: 1.49 MB / 0.6268 GB, free: 5.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.229e-06/0.4798, allocations: 3.938 kB / 0.6268 GB, free: 5.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01197/0.4917, allocations: 4.195 MB / 0.6309 GB, free: 1.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4918, allocations: 4 kB / 0.6309 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4918, allocations: 4 kB / 0.6309 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/0.4975, allocations: 1.792 MB / 0.6326 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/0.4985, allocations: 183.8 kB / 0.6328 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/0.5182, allocations: 8.574 MB / 0.6412 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.5198, allocations: 159 kB / 0.6413 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.52, allocations: 40 kB / 0.6414 GB, free: 6.441 MB / 446.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.0003658/0.5203, allocations: 232.9 kB / 0.6416 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.5206, allocations: 106.7 kB / 0.6417 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.533, allocations: 3.915 MB / 0.6455 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.5331, allocations: 8 kB / 0.6455 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5331, allocations: 3.938 kB / 0.6455 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.5331, allocations: 3.984 kB / 0.6455 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.548, allocations: 5.618 MB / 0.651 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.5481, allocations: 0 / 0.651 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.5488, allocations: 111.8 kB / 0.6511 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005681/0.5544, allocations: 1.741 MB / 0.6528 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.5547, allocations: 16 kB / 0.6528 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.5715, allocations: 7.366 MB / 0.66 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5716, allocations: 0 / 0.66 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.586, allocations: 4.821 MB / 0.6647 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.5864, allocations: 191.6 kB / 0.6649 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.5867, allocations: 19.94 kB / 0.6649 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5877, allocations: 99.89 kB / 0.665 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.5884, allocations: 204.5 kB / 0.6652 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.5884, allocations: 24 kB / 0.6653 GB, free: 13.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007219/0.5892, allocations: 0.5588 MB / 0.6658 GB, free: 13.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5892, allocations: 0 / 0.6658 GB, free: 13.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001967/0.5912, allocations: 0.6905 MB / 0.6665 GB, free: 12.36 MB / 478.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.0002865/0.5915, allocations: 133.1 kB / 0.6666 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01143/0.6029, allocations: 4.091 MB / 0.6706 GB, free: 8.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.6029, allocations: 0 / 0.6706 GB, free: 8.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004552/0.6075, allocations: 1.512 MB / 0.6721 GB, free: 6.578 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6086, allocations: 91.42 kB / 0.6722 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.6128, allocations: 2.415 MB / 0.6745 GB, free: 4.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.6135, allocations: 1.078 MB / 0.6756 GB, free: 2.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.6138, allocations: 67.42 kB / 0.6756 GB, free: 2.863 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6138, allocations: 0 / 0.6756 GB, free: 2.863 MB / 478.1 MB Notification: Performance of Templates: time 0.02664/0.6405, allocations: 20.09 MB / 0.6953 GB, free: 14.76 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)