Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001222/0.001222, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.001614/0.001614, allocations: 181.2 kB / 17.19 MB, free: 5.906 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.359/1.359, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.0005841/0.0005843, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2009, allocations: 47.58 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001218/0.2022, allocations: 1.05 MB / 328.7 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.1399/0.3421, allocations: 127.4 MB / 456.2 MB, free: 2.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.3423, allocations: 0 / 456.2 MB, free: 2.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.3423, allocations: 7.984 kB / 456.2 MB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3435, allocations: 255.2 kB / 456.4 MB, free: 2.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3452, allocations: 0.5767 MB / 457 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3454, allocations: 51.86 kB / 457.1 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.3454, allocations: 4 kB / 457.1 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.3455, allocations: 27.91 kB / 457.1 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.3456, allocations: 31.91 kB / 457.1 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3456, allocations: 3.984 kB / 457.1 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.3478, allocations: 1.034 MB / 458.2 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.3478, allocations: 15.98 kB / 458.2 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.3479, allocations: 33.64 kB / 458.2 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3489, allocations: 0.4966 MB / 458.7 MB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3489, allocations: 0 / 458.7 MB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.349, allocations: 0 / 458.7 MB, free: 200 kB / 382.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.349, allocations: 0 / 458.7 MB, free: 200 kB / 382.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.1523/0.5013, allocations: 458.7 kB / 459.2 MB, free: 127.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5013, allocations: 8.562 kB / 459.2 MB, free: 127.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.5017, allocations: 33.39 kB / 459.2 MB, free: 127.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.5019, allocations: 193.9 kB / 459.4 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.5019, allocations: 1.875 kB / 459.4 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.502, allocations: 3.625 kB / 459.4 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.5021, allocations: 77.5 kB / 459.5 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5022, allocations: 3.75 kB / 459.5 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5022, allocations: 1.438 kB / 459.5 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5022, allocations: 0.6562 kB / 459.5 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.5023, allocations: 40.94 kB / 459.5 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.5026, allocations: 198.2 kB / 459.7 MB, free: 127.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.5031, allocations: 112.5 kB / 459.8 MB, free: 127.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-05/0.5032, allocations: 22.44 kB / 459.8 MB, free: 127.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5032, allocations: 33.72 kB / 459.9 MB, free: 127.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.5032, allocations: 0.5 kB / 459.9 MB, free: 127.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005079/0.5037, allocations: 126.4 kB / 460 MB, free: 127.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.5038, allocations: 78.39 kB / 460.1 MB, free: 127.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.504, allocations: 139.8 kB / 460.2 MB, free: 127.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.504, allocations: 31.39 kB / 460.2 MB, free: 127.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.5041, allocations: 87.36 kB / 460.3 MB, free: 127.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.5041, allocations: 20.58 kB / 460.3 MB, free: 127 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.5041, allocations: 1.062 kB / 460.3 MB, free: 127 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.5042, allocations: 318.1 kB / 460.7 MB, free: 126.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5043, allocations: 22.94 kB / 460.7 MB, free: 126.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.5045, allocations: 56.73 kB / 460.7 MB, free: 126.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.5046, allocations: 26.38 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5046, allocations: 6.203 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003429/0.5049, allocations: 103 kB / 460.9 MB, free: 126.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.505, allocations: 6.297 kB / 460.9 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.505, allocations: 1.062 kB / 460.9 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.505, allocations: 9.172 kB / 460.9 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.5051, allocations: 15.58 kB / 460.9 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5051, allocations: 1.594 kB / 460.9 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.5052, allocations: 11.47 kB / 460.9 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.5052, allocations: 4.875 kB / 460.9 MB, free: 126.6 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/0.5053, allocations: 117.4 kB / 461 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.5054, allocations: 7.531 kB / 461 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.5058, allocations: 120.7 kB / 461.2 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5058, allocations: 4.953 kB / 461.2 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5058, allocations: 4.016 kB / 461.2 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5058, allocations: 0.6875 kB / 461.2 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.506, allocations: 183.9 kB / 461.3 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.506, allocations: 0.5625 kB / 461.3 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.5061, allocations: 13.09 kB / 461.4 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5061, allocations: 1.891 kB / 461.4 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.5061, allocations: 2.094 kB / 461.4 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.5061, allocations: 2.578 kB / 461.4 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5061, allocations: 4.953 kB / 461.4 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.5066, allocations: 177.2 kB / 461.5 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.5067, allocations: 91.78 kB / 461.6 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.5067, allocations: 2.438 kB / 461.6 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.5068, allocations: 13.22 kB / 461.6 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.5068, allocations: 4.906 kB / 461.6 MB, free: 126.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5069, allocations: 5 kB / 461.7 MB, free: 126.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.507, allocations: 112.7 kB / 461.8 MB, free: 126 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.507, allocations: 0 / 461.8 MB, free: 126 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009447/0.5079, allocations: 201.3 kB / 462 MB, free: 126 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.5092, allocations: 461.1 kB / 462.4 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.5094, allocations: 63.23 kB / 462.5 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5095, allocations: 0 / 462.5 MB, free: 125.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.5095, allocations: 32.64 kB / 462.5 MB, free: 125.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.5098, allocations: 21.92 kB / 462.5 MB, free: 125.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.5105, allocations: 367.4 kB / 462.9 MB, free: 125.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.5106, allocations: 0.6942 MB / 463.6 MB, free: 124.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.5107, allocations: 23.69 kB / 463.6 MB, free: 124.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.5108, allocations: 16.69 kB / 463.6 MB, free: 124.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5108, allocations: 0 / 463.6 MB, free: 124.8 MB / 382.1 MB Notification: Performance of Templates: time 0.01044/0.5212, allocations: 5.928 MB / 469.5 MB, free: 121 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) Environment - environmentSimulation: