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.001073/0.001073, allocations: 182.4 kB / 13.64 MB, free: 1.676 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.464/1.464, allocations: 194.2 MB / 208.4 MB, free: 6.715 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.001599/0.001599, allocations: 120.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.617e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.07983, allocations: 44.51 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/0.4116, allocations: 74.45 MB / 423.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4119, allocations: 85.56 kB / 424 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.425, allocations: 4.949 MB / 428.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.425, allocations: 4 kB / 428.9 MB, free: 9.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.4251, allocations: 3.844 kB / 428.9 MB, free: 9.227 MB / 298.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.0007483/0.4258, allocations: 0.5237 MB / 429.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4259, allocations: 11.62 kB / 429.5 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.4259, allocations: 29.94 kB / 429.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.4262, allocations: 246.4 kB / 429.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4263, allocations: 23.12 kB / 429.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.4263, allocations: 18.38 kB / 429.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.4266, allocations: 178.7 kB / 430 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4267, allocations: 7.984 kB / 430 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.4267, allocations: 7 kB / 430 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4267, allocations: 3.844 kB / 430 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.4269, allocations: 141 kB / 430.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.4281, allocations: 0.8401 MB / 431 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.4284, allocations: 133.2 kB / 431.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.4285, allocations: 48.64 kB / 431.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.4285, allocations: 6.078 kB / 431.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.4287, allocations: 123.1 kB / 431.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.4287, allocations: 0 / 431.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002677/0.429, allocations: 135.8 kB / 431.4 MB, free: 7.656 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4291, allocations: 80.89 kB / 431.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4292, allocations: 201 kB / 431.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4293, allocations: 29.02 kB / 431.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.4293, allocations: 166.1 kB / 431.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.4294, allocations: 44.98 kB / 431.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.4294, allocations: 3.312 kB / 431.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.4295, allocations: 328.4 kB / 432.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.4296, allocations: 44.25 kB / 432.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4297, allocations: 106.9 kB / 432.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.9e-05/0.4298, allocations: 83.02 kB / 432.5 MB, free: 6.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4298, allocations: 0 / 432.5 MB, free: 6.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002719/0.4301, allocations: 221.7 kB / 432.7 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4301, allocations: 44.83 kB / 432.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4301, allocations: 0 / 432.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4301, allocations: 3.844 kB / 432.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.4304, allocations: 50.66 kB / 432.8 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4304, allocations: 7.828 kB / 432.8 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.4306, allocations: 42.64 kB / 432.8 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.4306, allocations: 11.62 kB / 432.8 MB, free: 6.664 MB / 298.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 () * 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.459e-05/0.4307, allocations: 123.8 kB / 433 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.4307, allocations: 19.41 kB / 433 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.4308, allocations: 27.45 kB / 433 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4308, allocations: 0 / 433 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4308, allocations: 4 kB / 433 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4308, allocations: 7.922 kB / 433 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.431, allocations: 269.2 kB / 433.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.431, allocations: 0 / 433.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.4313, allocations: 45.86 kB / 433.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4313, allocations: 0 / 433.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4313, allocations: 3.312 kB / 433.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4313, allocations: 3.953 kB / 433.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4313, allocations: 4 kB / 433.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.4316, allocations: 221 kB / 433.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.4317, allocations: 100.6 kB / 433.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.4317, allocations: 3 kB / 433.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.4319, allocations: 31.44 kB / 433.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.432, allocations: 23.36 kB / 433.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.432, allocations: 7.562 kB / 433.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.4321, allocations: 170.2 kB / 433.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4322, allocations: 0 / 433.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.4324, allocations: 53.78 kB / 433.9 MB, free: 5.945 MB / 298.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) * 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.0001198/0.4325, allocations: 113.9 kB / 434 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.4328, allocations: 178.1 kB / 434.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4328, allocations: 0 / 434.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.4329, allocations: 58.97 kB / 434.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.4331, allocations: 24.48 kB / 434.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.4337, allocations: 303.4 kB / 434.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4338, allocations: 0.7387 MB / 435.3 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.848e-05/0.434, allocations: 25.69 kB / 435.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.434, allocations: 18.78 kB / 435.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.434, allocations: 0 / 435.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of Templates: time 0.004401/0.4384, allocations: 2.313 MB / 437.7 MB, free: 3.672 MB / 298.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)