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.00173/0.00173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002718/0.002718, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.953/1.953, allocations: 205.1 MB / 222 MB, free: 4.773 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.001217/0.001218, allocations: 56.39 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 46.63 MB / 324.7 MB, free: 2.035 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004049/0.3406, allocations: 2.643 MB / 327.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3421, allocations: 0.7085 MB / 328 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3423, allocations: 6.25 kB / 328.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.3425, allocations: 31.27 kB / 328.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.3427, allocations: 70.52 kB / 328.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.343, allocations: 77 kB / 328.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.3434, allocations: 309 kB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.3437, allocations: 69.52 kB / 328.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.3439, allocations: 110.8 kB / 328.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.3441, allocations: 133 kB / 328.8 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.3442, allocations: 17.91 kB / 328.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.3442, allocations: 16.88 kB / 328.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.3443, allocations: 57.56 kB / 328.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.3445, allocations: 117.4 kB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.345, allocations: 292 kB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.345, allocations: 3.938 kB / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.345, allocations: 0 / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.345, allocations: 1.25 kB / 329.3 MB, free: 14.49 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.001647/0.3467, allocations: 0.6161 MB / 329.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.3467, allocations: 9.094 kB / 330 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.3468, allocations: 25.78 kB / 330 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.3473, allocations: 270.7 kB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.3473, allocations: 20.77 kB / 330.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.3474, allocations: 17.25 kB / 330.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.3481, allocations: 238.4 kB / 330.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3481, allocations: 0 / 330.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3481, allocations: 10.2 kB / 330.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3481, allocations: 8.469 kB / 330.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.349, allocations: 245.5 kB / 330.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3505, allocations: 0.8347 MB / 331.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008684/0.3514, allocations: 230.4 kB / 331.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.3517, allocations: 87.55 kB / 331.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3517, allocations: 1.406 kB / 331.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/0.3523, allocations: 166.2 kB / 332.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3523, allocations: 1.062 kB / 332.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001015/0.3533, allocations: 286 kB / 332.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.3534, allocations: 88.41 kB / 332.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.3537, allocations: 234.5 kB / 332.7 MB, free: 11.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 7.508e-05/0.3538, allocations: 38.75 kB / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3539, allocations: 158 kB / 332.9 MB, free: 11.74 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.354, allocations: 52.75 kB / 332.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.3541, allocations: 40.33 kB / 333 MB, free: 11.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3543, allocations: 335.2 kB / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.3546, allocations: 96.22 kB / 333.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.355, allocations: 143 kB / 333.5 MB, free: 11.13 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.3555, allocations: 238.5 kB / 333.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3556, allocations: 4 kB / 333.8 MB, free: 10.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000739/0.3563, allocations: 314.7 kB / 334.1 MB, free: 10.55 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.3564, allocations: 33.7 kB / 334.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3564, allocations: 12.17 kB / 334.1 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3564, allocations: 0 / 334.1 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.3567, allocations: 55.89 kB / 334.2 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3567, allocations: 4 kB / 334.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.357, allocations: 43.72 kB / 334.2 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.357, allocations: 7.984 kB / 334.2 MB, free: 10.39 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003313/0.3574, allocations: 180.1 kB / 334.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002654/0.3576, allocations: 126.8 kB / 334.5 MB, free: 10.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004711/0.3581, allocations: 223.5 kB / 334.7 MB, free: 9.816 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.87e-06/0.3581, allocations: 11.94 kB / 334.7 MB, free: 9.805 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006327/0.3588, allocations: 281.2 kB / 335 MB, free: 9.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.3588, allocations: 29.7 kB / 335.1 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3588, allocations: 4 kB / 335.1 MB, free: 9.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.3588, allocations: 4.188 kB / 335.1 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3591, allocations: 59.89 kB / 335.1 MB, free: 9.418 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.3591, allocations: 0 / 335.1 MB, free: 9.418 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.3593, allocations: 39.81 kB / 335.2 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3594, allocations: 4 kB / 335.2 MB, free: 9.375 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.0001279/0.3595, allocations: 196.1 kB / 335.4 MB, free: 9.176 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.3595, allocations: 19.81 kB / 335.4 MB, free: 9.156 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.3596, allocations: 25.83 kB / 335.4 MB, free: 9.133 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3596, allocations: 4 kB / 335.4 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3596, allocations: 0 / 335.4 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3596, allocations: 0 / 335.4 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3599, allocations: 289.3 kB / 335.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3599, allocations: 7.938 kB / 335.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.3602, allocations: 39.95 kB / 335.7 MB, free: 8.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3602, allocations: 0 / 335.7 MB, free: 8.75 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3602, allocations: 8 kB / 335.7 MB, free: 8.742 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3602, allocations: 3.938 kB / 335.7 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3602, allocations: 0 / 335.7 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.3611, allocations: 349.2 kB / 336.1 MB, free: 8.379 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.3612, allocations: 96.84 kB / 336.2 MB, free: 8.266 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.3613, allocations: 8 kB / 336.2 MB, free: 8.258 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3615, allocations: 19.97 kB / 336.2 MB, free: 8.238 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.3615, allocations: 19.97 kB / 336.2 MB, free: 8.219 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3616, allocations: 4 kB / 336.2 MB, free: 8.215 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3617, allocations: 176.5 kB / 336.4 MB, free: 8.043 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3617, allocations: 0 / 336.4 MB, free: 8.043 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.3622, allocations: 99.78 kB / 336.5 MB, free: 7.945 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.0001541/0.3623, allocations: 103.2 kB / 336.6 MB, free: 7.836 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3633, allocations: 434.4 kB / 337 MB, free: 7.387 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3634, allocations: 0 / 337 MB, free: 7.387 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.3637, allocations: 104.5 kB / 337.1 MB, free: 7.285 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.364, allocations: 40.36 kB / 337.2 MB, free: 7.246 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3651, allocations: 0.538 MB / 337.7 MB, free: 6.68 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.3655, allocations: 0.7404 MB / 338.4 MB, free: 5.914 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.3657, allocations: 25.94 kB / 338.5 MB, free: 5.891 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.3658, allocations: 19.44 kB / 338.5 MB, free: 5.871 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3658, allocations: 0 / 338.5 MB, free: 5.871 MB / 270.1 MB Notification: Performance of Templates: time 0.005747/0.3715, allocations: 2.731 MB / 341.2 MB, free: 3.145 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)