Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.001451, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001815/0.001815, allocations: 195.3 kB / 16.25 MB, free: 6.621 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.68/1.68, allocations: 205.1 MB / 222.1 MB, free: 4.633 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.002083/0.002083, allocations: 48.22 kB / 278.2 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 46.63 MB / 324.9 MB, free: 2.195 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004544/0.3235, allocations: 2.655 MB / 327.5 MB, free: 104 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3254, allocations: 0.7062 MB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.3258, allocations: 3.219 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.3261, allocations: 27.36 kB / 328.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.3265, allocations: 71.61 kB / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.3269, allocations: 82.59 kB / 328.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.3275, allocations: 325.9 kB / 328.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.3278, allocations: 80.52 kB / 328.8 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.328, allocations: 123 kB / 328.9 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.3282, allocations: 145.6 kB / 329.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.3283, allocations: 27.5 kB / 329.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.3284, allocations: 27.41 kB / 329.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.3285, allocations: 62.27 kB / 329.2 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.3286, allocations: 133.5 kB / 329.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.329, allocations: 302.5 kB / 329.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3291, allocations: 0 / 329.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3291, allocations: 0.9688 kB / 329.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3291, allocations: 0 / 329.6 MB, free: 14.58 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001302/0.3304, allocations: 0.6161 MB / 330.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3304, allocations: 10.22 kB / 330.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.3305, allocations: 26.03 kB / 330.3 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.3309, allocations: 269.4 kB / 330.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3309, allocations: 16.81 kB / 330.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.331, allocations: 21.81 kB / 330.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.3316, allocations: 238 kB / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3316, allocations: 0 / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.3316, allocations: 6.281 kB / 330.8 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3316, allocations: 4.469 kB / 330.8 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.3324, allocations: 245.7 kB / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.334, allocations: 0.8349 MB / 331.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.3348, allocations: 230.4 kB / 332.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.3351, allocations: 87.3 kB / 332.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3352, allocations: 5.219 kB / 332.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/0.3357, allocations: 162.9 kB / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.3358, allocations: 0 / 332.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009896/0.3367, allocations: 291.3 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3368, allocations: 81.11 kB / 332.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.3371, allocations: 237 kB / 332.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3371, allocations: 29.7 kB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3373, allocations: 160 kB / 333.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.3373, allocations: 51.28 kB / 333.2 MB, free: 11.62 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.3374, allocations: 41.7 kB / 333.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3376, allocations: 334.8 kB / 333.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3379, allocations: 92.78 kB / 333.6 MB, free: 11.14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.3382, allocations: 150.7 kB / 333.8 MB, free: 10.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.3388, allocations: 238.5 kB / 334 MB, free: 10.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3388, allocations: 3.938 kB / 334 MB, free: 10.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007909/0.3396, allocations: 318.7 kB / 334.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.3397, allocations: 29.7 kB / 334.4 MB, free: 10.35 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3397, allocations: 7.938 kB / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.3397, allocations: 0 / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.34, allocations: 55.95 kB / 334.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.34, allocations: 12.12 kB / 334.4 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.3403, allocations: 47.69 kB / 334.5 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.3404, allocations: 8 kB / 334.5 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003586/0.3407, allocations: 172.1 kB / 334.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000281/0.341, allocations: 134.8 kB / 334.8 MB, free: 9.891 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004903/0.3415, allocations: 217.9 kB / 335 MB, free: 9.652 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.3415, allocations: 7.875 kB / 335 MB, free: 9.645 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006906/0.3422, allocations: 290.9 kB / 335.3 MB, free: 9.348 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.3423, allocations: 29.7 kB / 335.3 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3423, allocations: 4 kB / 335.3 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.3423, allocations: 0 / 335.3 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3425, allocations: 51.89 kB / 335.4 MB, free: 9.258 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3426, allocations: 4 kB / 335.4 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.3429, allocations: 48 kB / 335.4 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3429, allocations: 4 kB / 335.4 MB, free: 9.203 MB / 270.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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0001993/0.3431, allocations: 200.1 kB / 335.6 MB, free: 9 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.3431, allocations: 15.81 kB / 335.6 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.3432, allocations: 21.83 kB / 335.7 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3432, allocations: 4 kB / 335.7 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3432, allocations: 0 / 335.7 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3433, allocations: 4 kB / 335.7 MB, free: 8.957 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.3436, allocations: 293.3 kB / 336 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3436, allocations: 0 / 336 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.3438, allocations: 39.95 kB / 336 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3438, allocations: 0 / 336 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3439, allocations: 4 kB / 336 MB, free: 8.578 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3439, allocations: 4 kB / 336 MB, free: 8.574 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3439, allocations: 0 / 336 MB, free: 8.574 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.3449, allocations: 345.2 kB / 336.3 MB, free: 8.219 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.345, allocations: 96.86 kB / 336.4 MB, free: 8.105 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.3451, allocations: 8 kB / 336.4 MB, free: 8.098 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3453, allocations: 31.95 kB / 336.5 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.3454, allocations: 15.98 kB / 336.5 MB, free: 8.051 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3454, allocations: 4 kB / 336.5 MB, free: 8.047 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3456, allocations: 172.5 kB / 336.7 MB, free: 7.879 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3456, allocations: 0 / 336.7 MB, free: 7.879 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004512/0.346, allocations: 99.78 kB / 336.8 MB, free: 7.781 MB / 270.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000155/0.3462, allocations: 103.2 kB / 336.9 MB, free: 7.672 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3473, allocations: 446.7 kB / 337.3 MB, free: 7.211 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3473, allocations: 0 / 337.3 MB, free: 7.211 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.3476, allocations: 95.86 kB / 337.4 MB, free: 7.117 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.3481, allocations: 48.61 kB / 337.4 MB, free: 7.07 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3497, allocations: 0.5453 MB / 338 MB, free: 6.496 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.3501, allocations: 0.7363 MB / 338.7 MB, free: 5.734 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.3503, allocations: 25.94 kB / 338.7 MB, free: 5.711 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.3504, allocations: 23.44 kB / 338.8 MB, free: 5.688 MB / 270.1 MB Notification: Performance of SimCode: time 2.725e-06/0.3504, allocations: 4 kB / 338.8 MB, free: 5.684 MB / 270.1 MB Notification: Performance of Templates: time 0.007753/0.3582, allocations: 2.876 MB / 341.6 MB, free: 2.812 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)