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.001082/0.001082, allocations: 102 kB / 16.37 MB, free: 6.441 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.407/1.407, allocations: 222.9 MB / 240 MB, free: 4.383 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.001222/0.001222, allocations: 187.1 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4449/0.4449, allocations: 78.53 MB / 419 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 79.88 kB / 498.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1255, allocations: 68.17 MB / 0.5538 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2059/0.3314, allocations: 6.081 MB / 0.5597 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.3345, allocations: 1.854 MB / 0.5615 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005767/0.3351, allocations: 12.94 kB / 0.5615 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.3356, allocations: 212.9 kB / 0.5617 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.3371, allocations: 0.6938 MB / 0.5624 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3382, allocations: 0.6269 MB / 0.563 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3393, allocations: 1.353 MB / 0.5643 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.3397, allocations: 290.8 kB / 0.5646 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.3401, allocations: 0.5549 MB / 0.5652 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.3407, allocations: 0.6926 MB / 0.5658 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3408, allocations: 97.88 kB / 0.5659 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.3412, allocations: 238.5 kB / 0.5662 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.3414, allocations: 261.9 kB / 0.5664 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.3417, allocations: 0.5826 MB / 0.567 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.3428, allocations: 1.462 MB / 0.5684 GB, free: 34.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3428, allocations: 0 / 0.5684 GB, free: 34.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3428, allocations: 0.5625 kB / 0.5684 GB, free: 34.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.3428, allocations: 0 / 0.5684 GB, free: 34.28 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.006689/0.3495, allocations: 2.44 MB / 0.5708 GB, free: 33.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3495, allocations: 8.531 kB / 0.5708 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.3541, allocations: 0.767 MB / 0.5716 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3552, allocations: 0.741 MB / 0.5723 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.3554, allocations: 261.5 kB / 0.5725 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3556, allocations: 81.59 kB / 0.5726 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.3574, allocations: 1.089 MB / 0.5737 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3574, allocations: 0 / 0.5737 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.3575, allocations: 30.75 kB / 0.5737 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3576, allocations: 16.84 kB / 0.5737 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.3594, allocations: 1.024 MB / 0.5747 GB, free: 32.69 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.004995/0.3644, allocations: 3.494 MB / 0.5781 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3665, allocations: 1.444 MB / 0.5795 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.3677, allocations: 0.7435 MB / 0.5803 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.3678, allocations: 18.08 kB / 0.5803 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3678, allocations: 43.03 kB / 0.5803 GB, free: 30.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.054e-06/0.3678, allocations: 0 / 0.5803 GB, free: 30.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.0224/0.3903, allocations: 6.439 MB / 0.5866 GB, free: 29.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.3903, allocations: 86.7 kB / 0.5867 GB, free: 29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3914, allocations: 0.8279 MB / 0.5875 GB, free: 28.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.3916, allocations: 42.23 kB / 0.5875 GB, free: 28.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.3919, allocations: 458.8 kB / 0.588 GB, free: 28.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.3921, allocations: 322.5 kB / 0.5883 GB, free: 27.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.3925, allocations: 195.9 kB / 0.5885 GB, free: 27.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.3926, allocations: 348.3 kB / 0.5888 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.3941, allocations: 0.7035 MB / 0.5895 GB, free: 27.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.3956, allocations: 0.8347 MB / 0.5903 GB, free: 26.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002801/0.3984, allocations: 1.506 MB / 0.5918 GB, free: 26.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3984, allocations: 0.5 kB / 0.5918 GB, free: 26.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01277/0.4112, allocations: 4.212 MB / 0.5959 GB, free: 25.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4112, allocations: 9.844 kB / 0.5959 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.4113, allocations: 3.062 kB / 0.5959 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005812/0.4171, allocations: 1.797 MB / 0.5977 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/0.418, allocations: 191 kB / 0.5978 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.4376, allocations: 9.311 MB / 0.6069 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.439, allocations: 161.5 kB / 0.6071 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4392, allocations: 37.7 kB / 0.6071 GB, free: 20.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001626/0.4408, allocations: 0.8535 MB / 0.608 GB, free: 20 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001432/0.4422, allocations: 0.8162 MB / 0.6088 GB, free: 19.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002676/0.4449, allocations: 1.485 MB / 0.6102 GB, free: 18.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.928e-06/0.4449, allocations: 1.781 kB / 0.6102 GB, free: 18.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01203/0.457, allocations: 4.201 MB / 0.6143 GB, free: 16.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.457, allocations: 8.625 kB / 0.6143 GB, free: 16.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4571, allocations: 4.688 kB / 0.6143 GB, free: 16.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/0.4624, allocations: 1.788 MB / 0.6161 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.4633, allocations: 191.7 kB / 0.6162 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.4806, allocations: 9.305 MB / 0.6253 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4821, allocations: 159.5 kB / 0.6255 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/0.4822, allocations: 36 kB / 0.6255 GB, free: 4.602 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 (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.0002934/0.4825, allocations: 236 kB / 0.6257 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.4827, allocations: 110.7 kB / 0.6258 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.4934, allocations: 3.906 MB / 0.6297 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4934, allocations: 8.609 kB / 0.6297 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4934, allocations: 4.812 kB / 0.6297 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.4935, allocations: 15.91 kB / 0.6297 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.5075, allocations: 5.611 MB / 0.6352 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.5076, allocations: 3.938 kB / 0.6352 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.5082, allocations: 103.9 kB / 0.6353 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005661/0.5139, allocations: 1.744 MB / 0.637 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.5141, allocations: 13.06 kB / 0.637 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.5317, allocations: 8.09 MB / 0.6449 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5318, allocations: 0 / 0.6449 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.5457, allocations: 4.822 MB / 0.6496 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.5462, allocations: 191.6 kB / 0.6498 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.5464, allocations: 21.05 kB / 0.6498 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.5473, allocations: 95.89 kB / 0.6499 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006824/0.548, allocations: 212.6 kB / 0.6501 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.5481, allocations: 20 kB / 0.6501 GB, free: 11.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000756/0.5488, allocations: 0.5588 MB / 0.6507 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5488, allocations: 0 / 0.6507 GB, free: 10.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001978/0.5508, allocations: 0.68 MB / 0.6513 GB, free: 9.797 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 (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.0002895/0.5511, allocations: 140.2 kB / 0.6515 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.5622, allocations: 4.194 MB / 0.6556 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.5623, allocations: 0.75 kB / 0.6556 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004483/0.5667, allocations: 1.549 MB / 0.6571 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.5676, allocations: 96.03 kB / 0.6572 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.5716, allocations: 1.975 MB / 0.6591 GB, free: 1.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.5722, allocations: 1.074 MB / 0.6601 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.5727, allocations: 108.8 kB / 0.6602 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.5729, allocations: 64.55 kB / 0.6603 GB, free: 0.543 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5729, allocations: 0 / 0.6603 GB, free: 0.543 MB / 462.1 MB Notification: Performance of Templates: time 0.04372/0.6167, allocations: 31.4 MB / 0.691 GB, free: 1.363 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)