Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.InverseModel.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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001538/0.001538, allocations: 193 kB / 16.25 MB, free: 6.633 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.566/1.566, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.00158/0.00158, allocations: 55.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2931, allocations: 46.62 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002816/0.2959, allocations: 1.73 MB / 326.6 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.2968, allocations: 0.5292 MB / 327.1 MB, free: 152 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.2969, allocations: 0 / 327.1 MB, free: 152 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.297, allocations: 7.922 kB / 327.1 MB, free: 144 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.2972, allocations: 22.69 kB / 327.1 MB, free: 124 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2974, allocations: 37.22 kB / 327.2 MB, free: 96 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.2975, allocations: 100.8 kB / 327.3 MB, free: 36 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2977, allocations: 33.75 kB / 327.3 MB, free: 16 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2978, allocations: 43.48 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.2979, allocations: 50.97 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.2979, allocations: 6.312 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.2979, allocations: 6.781 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.298, allocations: 20.14 kB / 327.4 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.2981, allocations: 37.12 kB / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.2983, allocations: 80.3 kB / 327.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2983, allocations: 1.281 kB / 327.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2983, allocations: 4 kB / 327.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.2984, allocations: 3.938 kB / 327.5 MB, free: 15.84 MB / 270.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.0006872/0.299, allocations: 414.9 kB / 327.9 MB, free: 15.42 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.2991, allocations: 10.34 kB / 328 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.2992, allocations: 9.969 kB / 328 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.2995, allocations: 209.3 kB / 328.2 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2995, allocations: 7.938 kB / 328.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.2995, allocations: 12.5 kB / 328.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.2998, allocations: 73.95 kB / 328.3 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2998, allocations: 1.031 kB / 328.3 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2998, allocations: 3.984 kB / 328.3 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2998, allocations: 2.844 kB / 328.3 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3, allocations: 41.8 kB / 328.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.3007, allocations: 408.2 kB / 328.7 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3009, allocations: 63.44 kB / 328.8 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.301, allocations: 30.89 kB / 328.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.301, allocations: 1.25 kB / 328.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.301, allocations: 34.56 kB / 328.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.3011, allocations: 1.344 kB / 328.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003853/0.3014, allocations: 102.1 kB / 328.9 MB, free: 14.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.3015, allocations: 52.53 kB / 329 MB, free: 14.44 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3017, allocations: 144.6 kB / 329.1 MB, free: 14.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3017, allocations: 26.89 kB / 329.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3019, allocations: 109.7 kB / 329.3 MB, free: 14.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.3019, allocations: 17.84 kB / 329.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.302, allocations: 27.05 kB / 329.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3022, allocations: 321 kB / 329.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.3022, allocations: 14.16 kB / 329.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.3023, allocations: 19.17 kB / 329.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3025, allocations: 52.67 kB / 329.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3025, allocations: 0 / 329.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002447/0.3027, allocations: 94.8 kB / 329.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3028, allocations: 9.656 kB / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3028, allocations: 0 / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3028, allocations: 1.094 kB / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3031, allocations: 37 kB / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3031, allocations: 0 / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.3032, allocations: 6.969 kB / 329.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3032, allocations: 1.062 kB / 329.9 MB, free: 13.69 MB / 270.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.3034, allocations: 118.3 kB / 330 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.3034, allocations: 19.97 kB / 330 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.3035, allocations: 11.47 kB / 330 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3035, allocations: 0 / 330 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3035, allocations: 5.156 kB / 330 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3035, allocations: 0 / 330 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.3038, allocations: 197.6 kB / 330.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3038, allocations: 0 / 330.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3039, allocations: 36.27 kB / 330.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.304, allocations: 0 / 330.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.304, allocations: 1.125 kB / 330.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.304, allocations: 5.281 kB / 330.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.304, allocations: 0 / 330.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3043, allocations: 198.4 kB / 330.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.3044, allocations: 88.33 kB / 330.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.3045, allocations: 1.531 kB / 330.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.3045, allocations: 5.062 kB / 330.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.3046, allocations: 14.55 kB / 330.5 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.3046, allocations: 1.219 kB / 330.5 MB, free: 13 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3047, allocations: 113.1 kB / 330.6 MB, free: 12.91 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3047, allocations: 0 / 330.6 MB, free: 12.91 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.305, allocations: 16.34 kB / 330.7 MB, free: 12.91 MB / 270.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 () * 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 (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.0001347/0.3051, allocations: 103.6 kB / 330.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3054, allocations: 45.55 kB / 330.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3054, allocations: 0 / 330.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.3054, allocations: 30.42 kB / 330.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.3059, allocations: 21.86 kB / 330.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.3067, allocations: 296.4 kB / 331.2 MB, free: 12.53 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.307, allocations: 0.7031 MB / 331.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.3071, allocations: 11.36 kB / 331.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.3072, allocations: 11.56 kB / 331.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3072, allocations: 4 kB / 331.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of Templates: time 0.004139/0.3113, allocations: 0.8726 MB / 332.8 MB, free: 11.35 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)