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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001218/0.001218, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.343/1.343, allocations: 205.1 MB / 222 MB, free: 4.746 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.00116/0.00116, allocations: 51.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2067, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002111/0.2088, allocations: 1.432 MB / 326.1 MB, free: 0.7891 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3334/0.5423, allocations: 148.5 MB / 474.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.5425, allocations: 0 / 474.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.5425, allocations: 6.766 kB / 474.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.5436, allocations: 311.1 kB / 474.9 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.5452, allocations: 0.7024 MB / 475.6 MB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.5453, allocations: 93.16 kB / 475.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.5454, allocations: 6.156 kB / 475.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.5454, allocations: 28.72 kB / 475.8 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.5455, allocations: 38.02 kB / 475.8 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.5455, allocations: 2.125 kB / 475.8 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.548, allocations: 1.522 MB / 477.3 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.548, allocations: 18.73 kB / 477.3 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.5481, allocations: 27.39 kB / 477.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.5494, allocations: 0.9317 MB / 478.3 MB, free: 14.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5494, allocations: 0 / 478.3 MB, free: 14.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5494, allocations: 0 / 478.3 MB, free: 14.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.5494, allocations: 0 / 478.3 MB, free: 14.37 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.0006276/0.55, allocations: 485.1 kB / 478.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5501, allocations: 8.594 kB / 478.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.5504, allocations: 35.05 kB / 478.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.5506, allocations: 202.3 kB / 479 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.5506, allocations: 1.547 kB / 479 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.5506, allocations: 6.281 kB / 479 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.5508, allocations: 80.72 kB / 479.1 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5509, allocations: 4 kB / 479.1 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5509, allocations: 6.375 kB / 479.1 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5509, allocations: 2.344 kB / 479.1 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.551, allocations: 42.14 kB / 479.2 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.5512, allocations: 184.4 kB / 479.3 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.5515, allocations: 119.2 kB / 479.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.5516, allocations: 40.89 kB / 479.5 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005297/0.5521, allocations: 138.9 kB / 479.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.5521, allocations: 32.88 kB / 479.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.5522, allocations: 0 / 479.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003541/0.5525, allocations: 122.2 kB / 479.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.5526, allocations: 77.11 kB / 479.9 MB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5527, allocations: 143.4 kB / 480 MB, free: 13.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5527, allocations: 31.91 kB / 480 MB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.5527, allocations: 88.67 kB / 480.1 MB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.5528, allocations: 24.05 kB / 480.1 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.5528, allocations: 25.47 kB / 480.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.5529, allocations: 316.6 kB / 480.5 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/0.553, allocations: 24.67 kB / 480.5 MB, free: 12.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.5531, allocations: 58.61 kB / 480.6 MB, free: 12.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.5532, allocations: 81.27 kB / 480.6 MB, free: 12.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5533, allocations: 0 / 480.6 MB, free: 12.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002312/0.5535, allocations: 104.7 kB / 480.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5535, allocations: 11.75 kB / 480.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5535, allocations: 3.984 kB / 480.8 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5535, allocations: 0 / 480.8 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.5536, allocations: 20.2 kB / 480.8 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5536, allocations: 2.781 kB / 480.8 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.5537, allocations: 12.11 kB / 480.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.5537, allocations: 2.469 kB / 480.8 MB, free: 12.43 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.2e-05/0.5538, allocations: 114 kB / 480.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.5538, allocations: 13.53 kB / 480.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.5541, allocations: 121.6 kB / 481 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.5541, allocations: 3.125 kB / 481 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5541, allocations: 0 / 481 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.5541, allocations: 0 / 481 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.5543, allocations: 187.4 kB / 481.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5543, allocations: 3.406 kB / 481.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.5544, allocations: 9.469 kB / 481.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5544, allocations: 3.188 kB / 481.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5544, allocations: 3.25 kB / 481.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5544, allocations: 10.91 kB / 481.3 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5544, allocations: 0 / 481.3 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.5547, allocations: 160.7 kB / 481.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.5548, allocations: 89.58 kB / 481.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.5548, allocations: 2.812 kB / 481.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.5549, allocations: 0 / 481.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.5549, allocations: 10.95 kB / 481.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.5549, allocations: 4.656 kB / 481.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.502e-05/0.555, allocations: 114.2 kB / 481.6 MB, free: 11.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.555, allocations: 0 / 481.6 MB, free: 11.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006926/0.5557, allocations: 205.9 kB / 481.8 MB, free: 11.77 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.001244/0.557, allocations: 0.5096 MB / 482.3 MB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.5572, allocations: 66.42 kB / 482.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5572, allocations: 4.125 kB / 482.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.5573, allocations: 31.44 kB / 482.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.5576, allocations: 27.7 kB / 482.5 MB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.5581, allocations: 326 kB / 482.8 MB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.5583, allocations: 0.6888 MB / 483.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.534e-05/0.5584, allocations: 20.59 kB / 483.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.5584, allocations: 13.22 kB / 483.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5584, allocations: 0 / 483.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of Templates: time 0.009829/0.5683, allocations: 5.934 MB / 489.4 MB, free: 8.98 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)