Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00102/0.00102, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.307/1.307, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001998/0.001998, allocations: 116.7 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.19e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4459, allocations: 71.13 MB / 413.7 MB, free: 24.72 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.4461, allocations: 68.41 kB / 413.8 MB, free: 24.69 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.005712/0.4518, allocations: 2.151 MB / 415.9 MB, free: 22.9 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4519, allocations: 0 / 415.9 MB, free: 22.9 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.4519, allocations: 8 kB / 415.9 MB, free: 22.89 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003636/0.4523, allocations: 381.6 kB / 416.3 MB, free: 22.48 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4523, allocations: 11.31 kB / 416.3 MB, free: 22.48 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.4524, allocations: 13.53 kB / 416.3 MB, free: 22.46 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4526, allocations: 206.4 kB / 416.5 MB, free: 22.23 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4526, allocations: 7.266 kB / 416.5 MB, free: 22.22 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.4526, allocations: 4 kB / 416.5 MB, free: 22.22 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.727e-05/0.4527, allocations: 29.62 kB / 416.6 MB, free: 22.2 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4528, allocations: 63.67 kB / 416.6 MB, free: 22.14 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4528, allocations: 0 / 416.6 MB, free: 22.14 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4528, allocations: 0 / 416.6 MB, free: 22.14 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4529, allocations: 4 kB / 416.6 MB, free: 22.14 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.4533, allocations: 386.3 kB / 417 MB, free: 21.74 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.4534, allocations: 47.23 kB / 417 MB, free: 21.7 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.4535, allocations: 25 kB / 417.1 MB, free: 21.68 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.4535, allocations: 3.984 kB / 417.1 MB, free: 21.67 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.4535, allocations: 36.41 kB / 417.1 MB, free: 21.63 MB / 315.1 MB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.4535, allocations: 0 / 417.1 MB, free: 21.63 MB / 315.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001724/0.4537, allocations: 79.39 kB / 417.2 MB, free: 21.55 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.4537, allocations: 51.41 kB / 417.2 MB, free: 21.49 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.4538, allocations: 126.4 kB / 417.4 MB, free: 21.38 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4538, allocations: 29.7 kB / 417.4 MB, free: 21.34 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.4539, allocations: 103.8 kB / 417.5 MB, free: 21.25 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.4539, allocations: 16.55 kB / 417.5 MB, free: 21.24 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.4539, allocations: 8 kB / 417.5 MB, free: 21.23 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.454, allocations: 318.5 kB / 417.8 MB, free: 20.91 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.454, allocations: 11.75 kB / 417.8 MB, free: 20.91 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.454, allocations: 11.94 kB / 417.8 MB, free: 20.9 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.4541, allocations: 20.61 kB / 417.9 MB, free: 20.89 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4541, allocations: 0 / 417.9 MB, free: 20.89 MB / 315.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001018/0.4542, allocations: 76.3 kB / 417.9 MB, free: 20.82 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4542, allocations: 8.875 kB / 417.9 MB, free: 20.81 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4542, allocations: 2.062 kB / 418 MB, free: 20.81 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4542, allocations: 4 kB / 418 MB, free: 20.81 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.4545, allocations: 39.97 kB / 418 MB, free: 20.77 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4545, allocations: 3.953 kB / 418 MB, free: 20.77 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.4546, allocations: 7.906 kB / 418 MB, free: 20.76 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4546, allocations: 1.188 kB / 418 MB, free: 20.76 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.793e-05/0.4547, allocations: 104.8 kB / 418.1 MB, free: 20.65 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.4547, allocations: 7.906 kB / 418.1 MB, free: 20.64 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.4548, allocations: 20.2 kB / 418.1 MB, free: 20.63 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.4548, allocations: 0 / 418.1 MB, free: 20.63 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4548, allocations: 0 / 418.1 MB, free: 20.63 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4548, allocations: 3.953 kB / 418.1 MB, free: 20.62 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.455, allocations: 171.8 kB / 418.3 MB, free: 20.43 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.455, allocations: 5.125 kB / 418.3 MB, free: 20.43 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.4551, allocations: 27.09 kB / 418.3 MB, free: 20.41 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4551, allocations: 0 / 418.3 MB, free: 20.41 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4552, allocations: 1.75 kB / 418.3 MB, free: 20.41 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4552, allocations: 3.938 kB / 418.3 MB, free: 20.4 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4552, allocations: 5.25 kB / 418.4 MB, free: 20.4 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.4554, allocations: 183.7 kB / 418.5 MB, free: 20.22 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.4554, allocations: 89.03 kB / 418.6 MB, free: 20.12 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4554, allocations: 0 / 418.6 MB, free: 20.12 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.4555, allocations: 4.656 kB / 418.6 MB, free: 20.11 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.4556, allocations: 0 / 418.6 MB, free: 20.11 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4556, allocations: 3.984 kB / 418.6 MB, free: 20.11 MB / 315.1 MB Notification: Performance of sorting global known variables: time 5.471e-05/0.4557, allocations: 106.3 kB / 418.7 MB, free: 20.02 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4557, allocations: 0 / 418.7 MB, free: 20.02 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.4559, allocations: 15.91 kB / 418.7 MB, free: 20 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001017/0.456, allocations: 99.23 kB / 418.8 MB, free: 19.89 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.4561, allocations: 36.41 kB / 418.9 MB, free: 19.87 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4561, allocations: 0 / 418.9 MB, free: 19.87 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.4562, allocations: 19.56 kB / 418.9 MB, free: 19.86 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.4565, allocations: 28.7 kB / 418.9 MB, free: 19.83 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.457, allocations: 178.7 kB / 419.1 MB, free: 19.66 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.4572, allocations: 0.7087 MB / 419.8 MB, free: 18.92 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.4572, allocations: 6.562 kB / 419.8 MB, free: 18.92 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.4573, allocations: 15.42 kB / 419.8 MB, free: 18.9 MB / 315.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4573, allocations: 4 kB / 419.8 MB, free: 18.9 MB / 315.1 MB Notification: Performance of Templates: time 0.002849/0.4601, allocations: 0.7427 MB / 420.6 MB, free: 18.2 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)