Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 103.3 kB / 15.98 MB, free: 6.348 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.298/1.298, allocations: 222.9 MB / 239.6 MB, free: 4.711 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.00125/0.001249, allocations: 204.4 kB / 289.9 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4986/0.4986, allocations: 91.89 MB / 432 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 83.86 kB / 0.502 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4278, allocations: 71.26 MB / 0.5716 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005526/0.4334, allocations: 6.492 MB / 0.578 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.437, allocations: 1.927 MB / 0.5798 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.438, allocations: 15.38 kB / 0.5799 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.4387, allocations: 162.2 kB / 0.58 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.4408, allocations: 0.6246 MB / 0.5806 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.4422, allocations: 0.588 MB / 0.5812 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.4437, allocations: 1.344 MB / 0.5825 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.4442, allocations: 286.8 kB / 0.5828 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000781/0.445, allocations: 0.5687 MB / 0.5833 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.4456, allocations: 0.6823 MB / 0.584 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.4457, allocations: 99.09 kB / 0.5841 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.4462, allocations: 237.9 kB / 0.5843 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.4464, allocations: 262.7 kB / 0.5846 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.4468, allocations: 0.5898 MB / 0.5852 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009656/0.4477, allocations: 1.11 MB / 0.5862 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4478, allocations: 0 / 0.5862 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4478, allocations: 3.938 kB / 0.5862 GB, free: 28.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.4478, allocations: 0 / 0.5862 GB, free: 28.34 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007403/0.4552, allocations: 2.436 MB / 0.5886 GB, free: 27.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4553, allocations: 9.156 kB / 0.5886 GB, free: 27.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.4601, allocations: 0.7657 MB / 0.5894 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.4612, allocations: 0.7398 MB / 0.5901 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.4615, allocations: 259.4 kB / 0.5903 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.4617, allocations: 73.84 kB / 0.5904 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.4639, allocations: 1.092 MB / 0.5915 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4639, allocations: 0 / 0.5915 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/0.464, allocations: 38.2 kB / 0.5915 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.464, allocations: 20.91 kB / 0.5915 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.4662, allocations: 1.023 MB / 0.5925 GB, free: 25.53 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.006048/0.4722, allocations: 3.498 MB / 0.596 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.4744, allocations: 1.428 MB / 0.5973 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.4758, allocations: 0.7454 MB / 0.5981 GB, free: 22.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.476, allocations: 15.78 kB / 0.5981 GB, free: 22.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.476, allocations: 48.09 kB / 0.5981 GB, free: 22.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.745e-06/0.476, allocations: 0 / 0.5981 GB, free: 22.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02723/0.5032, allocations: 6.898 MB / 0.6049 GB, free: 21.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5033, allocations: 86.42 kB / 0.605 GB, free: 20.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.5045, allocations: 0.8236 MB / 0.6058 GB, free: 20.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.5048, allocations: 46.28 kB / 0.6058 GB, free: 20.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.505, allocations: 449 kB / 0.6062 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.5054, allocations: 324.3 kB / 0.6065 GB, free: 19.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/0.5058, allocations: 204 kB / 0.6067 GB, free: 19.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.5059, allocations: 352.7 kB / 0.6071 GB, free: 19.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.5074, allocations: 0.706 MB / 0.6078 GB, free: 19.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.5089, allocations: 0.8405 MB / 0.6086 GB, free: 18.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.5118, allocations: 1.513 MB / 0.6101 GB, free: 18.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.5119, allocations: 9.125 kB / 0.6101 GB, free: 18.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01384/0.5257, allocations: 4.229 MB / 0.6142 GB, free: 17.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.5258, allocations: 5.469 kB / 0.6142 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5258, allocations: 2.156 kB / 0.6142 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006291/0.5321, allocations: 1.796 MB / 0.616 GB, free: 16.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5332, allocations: 187.9 kB / 0.6161 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.5522, allocations: 9.326 MB / 0.6252 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.5543, allocations: 170.9 kB / 0.6254 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.5545, allocations: 39.98 kB / 0.6254 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001814/0.5564, allocations: 0.8617 MB / 0.6263 GB, free: 6.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001323/0.5577, allocations: 0.8237 MB / 0.6271 GB, free: 5.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002489/0.5602, allocations: 1.494 MB / 0.6286 GB, free: 3.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.5602, allocations: 0 / 0.6286 GB, free: 3.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01187/0.5721, allocations: 4.21 MB / 0.6327 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5722, allocations: 8 kB / 0.6327 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5722, allocations: 0 / 0.6327 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006157/0.5783, allocations: 1.792 MB / 0.6344 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.5794, allocations: 191.7 kB / 0.6346 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.6006, allocations: 9.312 MB / 0.6437 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.6024, allocations: 159.1 kB / 0.6439 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6025, allocations: 35.98 kB / 0.6439 GB, free: 3.922 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 (110): * Single equations (assignments): 109 * 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.0003791/0.6029, allocations: 233 kB / 0.6441 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.6031, allocations: 110.6 kB / 0.6442 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.6159, allocations: 3.904 MB / 0.648 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.616, allocations: 8 kB / 0.648 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.616, allocations: 0 / 0.648 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.616, allocations: 3.984 kB / 0.648 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.6315, allocations: 5.552 MB / 0.6535 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.6316, allocations: 0 / 0.6535 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.6323, allocations: 107.9 kB / 0.6536 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005832/0.6382, allocations: 1.753 MB / 0.6553 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.6384, allocations: 20 kB / 0.6553 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.6566, allocations: 8.06 MB / 0.6632 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.6567, allocations: 3.984 kB / 0.6632 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/0.6714, allocations: 4.856 MB / 0.6679 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.6719, allocations: 195.5 kB / 0.6681 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.6721, allocations: 19.98 kB / 0.6681 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.673, allocations: 99.89 kB / 0.6682 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006681/0.6737, allocations: 204.7 kB / 0.6684 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.6738, allocations: 27.94 kB / 0.6684 GB, free: 10.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007158/0.6745, allocations: 0.5549 MB / 0.669 GB, free: 9.859 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6745, allocations: 0 / 0.669 GB, free: 9.859 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001943/0.6765, allocations: 0.6827 MB / 0.6696 GB, free: 9.176 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * Single equations (assignments): 56 * 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.000283/0.6768, allocations: 138.3 kB / 0.6698 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01184/0.6886, allocations: 4.23 MB / 0.6739 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.6886, allocations: 0 / 0.6739 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004784/0.6934, allocations: 1.543 MB / 0.6754 GB, free: 3.223 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6946, allocations: 89.45 kB / 0.6755 GB, free: 3.133 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.699, allocations: 2.472 MB / 0.6779 GB, free: 0.625 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/0.6997, allocations: 1.089 MB / 0.679 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.7, allocations: 67.42 kB / 0.679 GB, free: 15.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7, allocations: 0 / 0.679 GB, free: 15.44 MB / 494.1 MB Notification: Performance of Templates: time 0.02651/0.7266, allocations: 20.13 MB / 0.6987 GB, free: 11.3 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)