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.00169/0.00169, allocations: 187.7 kB / 8.352 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.337/1.337, allocations: 194.3 MB / 203.1 MB, free: 9.324 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.001604/0.001604, allocations: 119.3 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.1e-05, allocations: 7.984 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/0.418, allocations: 73.79 MB / 416.4 MB, free: 22.06 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.4183, allocations: 74.08 kB / 416.4 MB, free: 22.02 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01273/0.431, allocations: 4.909 MB / 421.4 MB, free: 17.93 MB / 315.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4311, allocations: 0 / 421.4 MB, free: 17.93 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4311, allocations: 4 kB / 421.4 MB, free: 17.93 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006271/0.4317, allocations: 0.5277 MB / 421.9 MB, free: 17.37 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4318, allocations: 8.031 kB / 421.9 MB, free: 17.36 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.4318, allocations: 33.98 kB / 421.9 MB, free: 17.33 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4321, allocations: 255.7 kB / 422.2 MB, free: 17.07 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4321, allocations: 4 kB / 422.2 MB, free: 17.06 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.4321, allocations: 12 kB / 422.2 MB, free: 17.05 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002185/0.4324, allocations: 117.8 kB / 422.3 MB, free: 16.98 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.4327, allocations: 154.3 kB / 422.5 MB, free: 16.87 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4327, allocations: 1.688 kB / 422.5 MB, free: 16.87 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.4327, allocations: 7.984 kB / 422.5 MB, free: 16.86 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4327, allocations: 4 kB / 422.5 MB, free: 16.86 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.4338, allocations: 0.8041 MB / 423.3 MB, free: 16.12 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.4341, allocations: 124.6 kB / 423.4 MB, free: 16.03 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.4342, allocations: 44.23 kB / 423.4 MB, free: 16 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4342, allocations: 3.984 kB / 423.4 MB, free: 15.99 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.4344, allocations: 127.5 kB / 423.6 MB, free: 15.88 MB / 315.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.4344, allocations: 0 / 423.6 MB, free: 15.88 MB / 315.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002367/0.4346, allocations: 117.7 kB / 423.7 MB, free: 15.77 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.4347, allocations: 84.3 kB / 423.8 MB, free: 15.68 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4349, allocations: 191.3 kB / 424 MB, free: 15.52 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4349, allocations: 29.3 kB / 424 MB, free: 15.48 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.435, allocations: 166.8 kB / 424.1 MB, free: 15.34 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.435, allocations: 42.33 kB / 424.2 MB, free: 15.3 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.435, allocations: 4 kB / 424.2 MB, free: 15.3 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.4351, allocations: 329 kB / 424.5 MB, free: 14.98 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.4352, allocations: 42.97 kB / 424.6 MB, free: 14.95 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.4353, allocations: 90.19 kB / 424.6 MB, free: 14.86 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.86e-05/0.4354, allocations: 61.55 kB / 424.7 MB, free: 14.82 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4354, allocations: 0 / 424.7 MB, free: 14.82 MB / 315.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002369/0.4356, allocations: 176.4 kB / 424.9 MB, free: 14.68 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4356, allocations: 37.31 kB / 424.9 MB, free: 14.64 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4357, allocations: 4 kB / 424.9 MB, free: 14.63 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4357, allocations: 11.05 kB / 424.9 MB, free: 14.62 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.436, allocations: 51.97 kB / 425 MB, free: 14.57 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.436, allocations: 0 / 425 MB, free: 14.57 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4362, allocations: 43.75 kB / 425 MB, free: 14.53 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.4362, allocations: 11.31 kB / 425 MB, free: 14.52 MB / 315.1 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 () * 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 6.097e-05/0.4363, allocations: 112.8 kB / 425.1 MB, free: 14.41 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.4363, allocations: 15.81 kB / 425.2 MB, free: 14.39 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.4364, allocations: 21.72 kB / 425.2 MB, free: 14.38 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4364, allocations: 3.953 kB / 425.2 MB, free: 14.38 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4364, allocations: 0 / 425.2 MB, free: 14.38 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.4364, allocations: 3.984 kB / 425.2 MB, free: 14.37 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.4366, allocations: 231.6 kB / 425.4 MB, free: 14.14 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4366, allocations: 4 kB / 425.4 MB, free: 14.14 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.4368, allocations: 51.86 kB / 425.5 MB, free: 14.09 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4368, allocations: 0 / 425.5 MB, free: 14.09 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4368, allocations: 4.688 kB / 425.5 MB, free: 14.09 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4368, allocations: 0 / 425.5 MB, free: 14.09 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4368, allocations: 0 / 425.5 MB, free: 14.09 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.4371, allocations: 209.6 kB / 425.7 MB, free: 13.91 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.4371, allocations: 99.81 kB / 425.8 MB, free: 13.8 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.4372, allocations: 2.688 kB / 425.8 MB, free: 13.8 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4374, allocations: 27.97 kB / 425.8 MB, free: 13.77 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.4374, allocations: 18.47 kB / 425.8 MB, free: 13.76 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4374, allocations: 4 kB / 425.8 MB, free: 13.76 MB / 315.1 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.4375, allocations: 151.8 kB / 426 MB, free: 13.64 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4375, allocations: 4 kB / 426 MB, free: 13.63 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.4378, allocations: 55.8 kB / 426 MB, free: 13.58 MB / 315.1 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) * 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 0.0001025/0.4379, allocations: 111.2 kB / 426.1 MB, free: 13.46 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.4381, allocations: 172.3 kB / 426.3 MB, free: 13.32 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4381, allocations: 0 / 426.3 MB, free: 13.32 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.4382, allocations: 48.95 kB / 426.4 MB, free: 13.29 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.4384, allocations: 38.92 kB / 426.4 MB, free: 13.26 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.4389, allocations: 282.7 kB / 426.7 MB, free: 12.98 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.439, allocations: 0.7438 MB / 427.4 MB, free: 12.21 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.548e-05/0.4392, allocations: 22.08 kB / 427.4 MB, free: 12.19 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.4392, allocations: 22.69 kB / 427.5 MB, free: 12.17 MB / 315.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4392, allocations: 0 / 427.5 MB, free: 12.17 MB / 315.1 MB Notification: Performance of Templates: time 0.00378/0.443, allocations: 2.062 MB / 429.5 MB, free: 10.17 MB / 315.1 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)