Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) 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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008057/0.0008057, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005885/0.005886, allocations: 174 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004426, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1992, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001106/0.2004, allocations: 1.094 MB / 328.1 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3225/0.5229, allocations: 146.9 MB / 475.1 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.523, allocations: 2.688 kB / 475.1 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.523, allocations: 4 kB / 475.1 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009466/0.524, allocations: 310.4 kB / 475.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.5255, allocations: 0.7022 MB / 476.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.5256, allocations: 92.8 kB / 476.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.5257, allocations: 8.969 kB / 476.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.5257, allocations: 29.5 kB / 476.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.5258, allocations: 39.78 kB / 476.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.5259, allocations: 0 / 476.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.5279, allocations: 1.525 MB / 477.8 MB, free: 14.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.528, allocations: 10.7 kB / 477.8 MB, free: 14.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.528, allocations: 54.81 kB / 477.8 MB, free: 14.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.5292, allocations: 0.9346 MB / 478.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.5292, allocations: 0 / 478.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5292, allocations: 0 / 478.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.5292, allocations: 0 / 478.8 MB, free: 14.8 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005838/0.5298, allocations: 470.8 kB / 479.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5298, allocations: 11.34 kB / 479.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.5301, allocations: 32.94 kB / 479.3 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.5303, allocations: 198.1 kB / 479.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.5303, allocations: 7.406 kB / 479.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.5303, allocations: 6.047 kB / 479.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5304, allocations: 73.28 kB / 479.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5305, allocations: 3.938 kB / 479.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.5305, allocations: 6.016 kB / 479.5 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5305, allocations: 0 / 479.5 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.5306, allocations: 47.55 kB / 479.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.5308, allocations: 195.3 kB / 479.8 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.5311, allocations: 115.1 kB / 479.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.5311, allocations: 38.91 kB / 479.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/0.5316, allocations: 131.6 kB / 480.1 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5316, allocations: 40.91 kB / 480.1 MB, free: 13.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5316, allocations: 0 / 480.1 MB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003179/0.532, allocations: 114.8 kB / 480.2 MB, free: 13.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.532, allocations: 77.11 kB / 480.3 MB, free: 13.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5321, allocations: 141.7 kB / 480.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.5321, allocations: 25.7 kB / 480.5 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.5322, allocations: 89.73 kB / 480.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.5322, allocations: 27.95 kB / 480.6 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.5322, allocations: 19.3 kB / 480.6 MB, free: 13.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.5323, allocations: 318.7 kB / 480.9 MB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.5324, allocations: 26.92 kB / 480.9 MB, free: 13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.5325, allocations: 45.55 kB / 481 MB, free: 12.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.5326, allocations: 85.42 kB / 481.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5326, allocations: 0 / 481.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.5329, allocations: 111.3 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5329, allocations: 5.125 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.5329, allocations: 0 / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.5329, allocations: 2.906 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.533, allocations: 21.08 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.533, allocations: 10.91 kB / 481.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.5331, allocations: 3.469 kB / 481.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.5331, allocations: 2.578 kB / 481.2 MB, free: 12.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.175e-05/0.5331, allocations: 114.6 kB / 481.3 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.5332, allocations: 10.94 kB / 481.3 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.5335, allocations: 119.1 kB / 481.4 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5335, allocations: 2.562 kB / 481.4 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5335, allocations: 0 / 481.4 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5335, allocations: 4 kB / 481.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.5336, allocations: 190.3 kB / 481.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5336, allocations: 3.031 kB / 481.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.5337, allocations: 10.69 kB / 481.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5337, allocations: 7.531 kB / 481.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.5338, allocations: 6.422 kB / 481.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5338, allocations: 0 / 481.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5338, allocations: 0 / 481.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.5341, allocations: 167.6 kB / 481.8 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.5341, allocations: 94.44 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.5342, allocations: 3.156 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.5342, allocations: 3.25 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.5343, allocations: 5.266 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.5343, allocations: 5.219 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.5343, allocations: 110.9 kB / 482 MB, free: 12.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5343, allocations: 4.062 kB / 482.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005637/0.5349, allocations: 207.4 kB / 482.3 MB, free: 12.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.536, allocations: 0.5113 MB / 482.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.5362, allocations: 58.25 kB / 482.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5362, allocations: 0 / 482.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.5363, allocations: 35.33 kB / 482.9 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.5366, allocations: 30.28 kB / 482.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.5371, allocations: 376.1 kB / 483.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.5373, allocations: 0.6876 MB / 483.9 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.5374, allocations: 14.72 kB / 484 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.5374, allocations: 20.81 kB / 484 MB, free: 11.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5374, allocations: 3.938 kB / 484 MB, free: 11.04 MB / 398.1 MB Notification: Performance of Templates: time 0.00945/0.5469, allocations: 5.903 MB / 489.9 MB, free: 9.039 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)