Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009658/0.0009658, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.007758/0.007758, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.334/1.334, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004211/0.0004212, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001083/0.2096, allocations: 1.093 MB / 328.1 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3262/0.5358, allocations: 146.9 MB / 475.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.5359, allocations: 0 / 475.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.536, allocations: 3.938 kB / 475.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.537, allocations: 316.7 kB / 475.4 MB, free: 15.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.5386, allocations: 0.7017 MB / 476.1 MB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.5387, allocations: 97.52 kB / 476.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.5388, allocations: 6.469 kB / 476.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.5388, allocations: 35.48 kB / 476.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.5389, allocations: 35.67 kB / 476.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.5389, allocations: 3.375 kB / 476.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.541, allocations: 1.52 MB / 477.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.5411, allocations: 15.72 kB / 477.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.5411, allocations: 54.77 kB / 477.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.5423, allocations: 0.9237 MB / 478.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5423, allocations: 5.5 kB / 478.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5423, allocations: 0 / 478.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.5423, 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.0006056/0.5429, allocations: 467.1 kB / 479.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5429, allocations: 8.562 kB / 479.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.5433, allocations: 39.95 kB / 479.3 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.5435, allocations: 199.5 kB / 479.5 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.5435, allocations: 11.95 kB / 479.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.5435, allocations: 7.719 kB / 479.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.5437, allocations: 71.14 kB / 479.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.5437, allocations: 0 / 479.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5437, allocations: 0 / 479.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5437, allocations: 3.531 kB / 479.6 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.5438, allocations: 44.95 kB / 479.6 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.5441, allocations: 199.2 kB / 479.8 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.5444, allocations: 110.6 kB / 479.9 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.5444, allocations: 44.27 kB / 479.9 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000471/0.5449, allocations: 138.2 kB / 480.1 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.545, allocations: 30.56 kB / 480.1 MB, free: 13.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.545, allocations: 0 / 480.1 MB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000355/0.5453, allocations: 118.2 kB / 480.2 MB, free: 13.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.5454, allocations: 80.08 kB / 480.3 MB, free: 13.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.5455, allocations: 142.7 kB / 480.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5455, allocations: 28.44 kB / 480.5 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.5456, allocations: 83.83 kB / 480.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.5456, allocations: 28.19 kB / 480.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.5457, allocations: 11.47 kB / 480.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5458, allocations: 320.5 kB / 480.9 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.5459, allocations: 29.83 kB / 480.9 MB, free: 13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.5459, allocations: 46.86 kB / 481 MB, free: 12.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.5461, allocations: 79.06 kB / 481.1 MB, free: 12.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5461, allocations: 6.625 kB / 481.1 MB, free: 12.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002311/0.5463, allocations: 117.8 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5464, allocations: 7.594 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5464, allocations: 2.906 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5464, allocations: 0 / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.5465, allocations: 17.41 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.5465, allocations: 0 / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.5465, allocations: 3.125 kB / 481.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5465, allocations: 2.188 kB / 481.2 MB, free: 12.88 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.398e-05/0.5466, allocations: 122.4 kB / 481.3 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.5467, allocations: 14.28 kB / 481.3 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.5469, allocations: 110.7 kB / 481.4 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5469, allocations: 3.938 kB / 481.5 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5469, allocations: 5.359 kB / 481.5 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5469, allocations: 0 / 481.5 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.5471, allocations: 186.1 kB / 481.6 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5471, allocations: 0 / 481.6 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.5472, allocations: 22.55 kB / 481.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.5472, allocations: 6.844 kB / 481.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5472, allocations: 0.875 kB / 481.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5472, allocations: 2.625 kB / 481.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.5472, allocations: 0 / 481.7 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.5475, allocations: 162.6 kB / 481.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.5476, allocations: 100.9 kB / 481.9 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.5476, allocations: 7.562 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.5477, allocations: 2.031 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.5477, allocations: 5.672 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.5477, allocations: 2.938 kB / 481.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.507e-05/0.5478, allocations: 112.7 kB / 482.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5478, allocations: 0 / 482.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006428/0.5485, allocations: 207.6 kB / 482.3 MB, free: 12.21 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.001303/0.5498, allocations: 0.5119 MB / 482.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.55, allocations: 68.36 kB / 482.8 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.55, allocations: 0 / 482.8 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.5501, allocations: 35.42 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.0002794/0.5504, allocations: 21.8 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.0005288/0.5509, allocations: 366.5 kB / 483.3 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.5512, allocations: 0.6944 MB / 483.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.026e-05/0.5512, allocations: 14.19 kB / 484 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.5513, allocations: 16.12 kB / 484 MB, free: 11.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5513, allocations: 3.938 kB / 484 MB, free: 11.05 MB / 398.1 MB Notification: Performance of Templates: time 0.01405/0.5653, allocations: 5.904 MB / 489.9 MB, free: 9.055 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)