Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009546/0.009546, allocations: 165 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.403/1.403, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00173/0.001729, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 38.77 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.361, allocations: 66.6 MB / 379.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.3613, allocations: 63.97 kB / 379.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007331/0.3686, allocations: 2.188 MB / 381.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3687, allocations: 4 kB / 381.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3687, allocations: 0 / 381.7 MB, free: 5.695 MB / 282.7 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.0005633/0.3693, allocations: 398.9 kB / 382.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3693, allocations: 12.03 kB / 382.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.3694, allocations: 7.906 kB / 382.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3698, allocations: 215.3 kB / 382.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3698, allocations: 8 kB / 382.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.3699, allocations: 7.906 kB / 382.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.3701, allocations: 81.61 kB / 382.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3701, allocations: 0 / 382.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3701, allocations: 0 / 382.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3701, allocations: 4 kB / 382.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.3703, allocations: 51.91 kB / 382.5 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.371, allocations: 406.1 kB / 382.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3712, allocations: 70.56 kB / 383 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3712, allocations: 0 / 383 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3713, allocations: 34.78 kB / 383 MB, free: 4.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.455e-06/0.3713, allocations: 0 / 383 MB, free: 4.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000339/0.3716, allocations: 109.6 kB / 383.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3717, allocations: 55.41 kB / 383.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3718, allocations: 137.3 kB / 383.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3718, allocations: 25.7 kB / 383.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3719, allocations: 104 kB / 383.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.372, allocations: 27.78 kB / 383.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.372, allocations: 0 / 383.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3721, allocations: 322.8 kB / 383.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.3722, allocations: 27.98 kB / 383.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.3723, allocations: 19.98 kB / 383.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.486e-05/0.3723, allocations: 20 kB / 383.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3724, allocations: 0 / 383.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.3725, allocations: 93.56 kB / 383.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3726, allocations: 4 kB / 383.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3726, allocations: 7.938 kB / 383.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3726, allocations: 0 / 383.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.3729, allocations: 43.97 kB / 384 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3729, allocations: 240 / 384 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.3729, allocations: 11.97 kB / 384 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.373, allocations: 3.984 kB / 384 MB, free: 3.203 MB / 282.7 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 () * Number of clocked 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 9.924e-05/0.3731, allocations: 117.8 kB / 384.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.3731, allocations: 7.906 kB / 384.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.3732, allocations: 16.31 kB / 384.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3732, allocations: 0 / 384.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3732, allocations: 0 / 384.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3732, allocations: 3.984 kB / 384.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3735, allocations: 201.4 kB / 384.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3735, allocations: 3.984 kB / 384.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3737, allocations: 27.98 kB / 384.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3737, allocations: 0 / 384.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3737, allocations: 0 / 384.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3737, allocations: 0 / 384.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3737, allocations: 7.938 kB / 384.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.374, allocations: 207.4 kB / 384.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.3741, allocations: 89.03 kB / 384.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3741, allocations: 4 kB / 384.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.3742, allocations: 8 kB / 384.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.3743, allocations: 11.98 kB / 384.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.3743, allocations: 320 / 384.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.3744, allocations: 103.8 kB / 384.8 MB, free: 2.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3744, allocations: 0 / 384.8 MB, free: 2.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.3746, allocations: 20 kB / 384.8 MB, free: 2.297 MB / 282.7 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 () * Number of clocked 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.0001536/0.3748, allocations: 99.23 kB / 384.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.375, allocations: 55.92 kB / 385 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.375, allocations: 3.938 kB / 385 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.375, allocations: 27.98 kB / 385 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3753, allocations: 20.45 kB / 385 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.376, allocations: 309.9 kB / 385.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3763, allocations: 0.7043 MB / 386 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.784e-05/0.3764, allocations: 11.98 kB / 386 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.3764, allocations: 11.44 kB / 386 MB, free: 1.008 MB / 282.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3764, allocations: 0 / 386 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Templates: time 0.003291/0.3797, allocations: 0.7809 MB / 386.8 MB, free: 240 kB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)