Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001105/0.001105, allocations: 179.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.155/1.155, allocations: 194.5 MB / 211.6 MB, free: 3.035 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 117.3 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08806, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.2923, allocations: 74.54 MB / 429.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.2925, allocations: 85.89 kB / 429.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.304, allocations: 4.954 MB / 434.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3041, allocations: 0 / 434.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3041, allocations: 8 kB / 434.7 MB, free: 10.81 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007509/0.3049, allocations: 0.5561 MB / 435.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.3049, allocations: 8.031 kB / 435.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.305, allocations: 28.75 kB / 435.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3052, allocations: 262.5 kB / 435.5 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3052, allocations: 8.719 kB / 435.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.3052, allocations: 23.12 kB / 435.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.3056, allocations: 221.2 kB / 435.7 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3057, allocations: 3.938 kB / 435.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.3057, allocations: 10.61 kB / 435.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3057, allocations: 4 kB / 435.8 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.3062, allocations: 226.1 kB / 436 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3072, allocations: 0.8393 MB / 436.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.3078, allocations: 209.2 kB / 437 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.3078, allocations: 4 kB / 437 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.3082, allocations: 172.7 kB / 437.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.3082, allocations: 0 / 437.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.000715/0.3089, allocations: 282.8 kB / 437.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.3089, allocations: 81.11 kB / 437.6 MB, free: 8.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3091, allocations: 218.4 kB / 437.8 MB, free: 7.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3091, allocations: 29.14 kB / 437.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3092, allocations: 159 kB / 438 MB, free: 7.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3092, allocations: 45.31 kB / 438 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.3092, allocations: 3.75 kB / 438 MB, free: 7.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.3093, allocations: 328.5 kB / 438.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.3095, allocations: 84.62 kB / 438.4 MB, free: 7.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.3097, allocations: 152.1 kB / 438.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.31, allocations: 123.3 kB / 438.7 MB, free: 7.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.31, allocations: 0 / 438.7 MB, free: 7.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005443/0.3105, allocations: 301.2 kB / 439 MB, free: 6.809 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.3106, allocations: 44.95 kB / 439 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3106, allocations: 0 / 439 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3106, allocations: 4 kB / 439 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.3108, allocations: 55.91 kB / 439.1 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3108, allocations: 4 kB / 439.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.3111, allocations: 39.81 kB / 439.1 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3111, allocations: 8 kB / 439.1 MB, free: 6.656 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.57e-05/0.3112, allocations: 143.8 kB / 439.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.3112, allocations: 19.72 kB / 439.3 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.3113, allocations: 24.42 kB / 439.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3113, allocations: 4 kB / 439.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3113, allocations: 1.406 kB / 439.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3113, allocations: 3.984 kB / 439.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3114, allocations: 268.3 kB / 439.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3114, allocations: 0 / 439.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.3116, allocations: 55.02 kB / 439.6 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3117, allocations: 1.25 kB / 439.6 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3117, allocations: 4 kB / 439.6 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3117, allocations: 6.062 kB / 439.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3117, allocations: 0 / 439.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.3124, allocations: 339.8 kB / 440 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.3124, allocations: 96.36 kB / 440.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.3125, allocations: 0 / 440.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.3126, allocations: 31.41 kB / 440.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3127, allocations: 27.61 kB / 440.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3127, allocations: 1.812 kB / 440.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.92e-05/0.3128, allocations: 176.4 kB / 440.3 MB, free: 5.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3128, allocations: 0 / 440.3 MB, free: 5.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000229/0.3131, allocations: 55.28 kB / 440.4 MB, free: 5.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.899e-05/0.3132, allocations: 112.8 kB / 440.5 MB, free: 5.387 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.3137, allocations: 261.1 kB / 440.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3137, allocations: 0 / 440.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.3139, allocations: 95 kB / 440.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.3141, allocations: 35.72 kB / 440.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006817/0.3148, allocations: 0.5394 MB / 441.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3149, allocations: 0.7443 MB / 442.1 MB, free: 3.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.13e-05/0.315, allocations: 25.95 kB / 442.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.3151, allocations: 15.44 kB / 442.2 MB, free: 3.707 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3151, allocations: 1.125 kB / 442.2 MB, free: 3.707 MB / 314.7 MB Notification: Performance of Templates: time 0.003798/0.3189, allocations: 2.298 MB / 444.5 MB, free: 1.473 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)