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.001836/0.001836, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.816/1.816, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.002201/0.002202, allocations: 59.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.352, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004124/0.3562, allocations: 2.601 MB / 327.9 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3579, allocations: 0.7056 MB / 328.6 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3581, allocations: 4.812 kB / 328.6 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.3583, allocations: 42.08 kB / 328.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.3585, allocations: 83.09 kB / 328.8 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.3588, allocations: 87.77 kB / 328.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.3593, allocations: 329.7 kB / 329.2 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.3595, allocations: 81.06 kB / 329.2 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.3597, allocations: 125.6 kB / 329.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3599, allocations: 141.7 kB / 329.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.36, allocations: 27.47 kB / 329.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.3601, allocations: 27.81 kB / 329.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.3601, allocations: 58.98 kB / 329.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3603, allocations: 136.2 kB / 329.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.3607, allocations: 299.7 kB / 330 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3607, allocations: 0 / 330 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3607, allocations: 4 kB / 330 MB, free: 14.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3607, allocations: 0 / 330 MB, free: 14.24 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.001382/0.3621, allocations: 0.6134 MB / 330.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3622, allocations: 8.812 kB / 330.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.3623, allocations: 27.06 kB / 330.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.3627, allocations: 277.3 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.3627, allocations: 12.72 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.3628, allocations: 21.66 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.3634, allocations: 237.2 kB / 331.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3634, allocations: 1.219 kB / 331.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.3635, allocations: 5.219 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3635, allocations: 4.781 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.3643, allocations: 246.6 kB / 331.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3661, allocations: 0.8342 MB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.367, allocations: 230.5 kB / 332.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.3673, allocations: 91.33 kB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3674, allocations: 1.125 kB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006072/0.368, allocations: 167.1 kB / 332.8 MB, free: 12.1 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.368, allocations: 7.938 kB / 332.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001072/0.3691, allocations: 286 kB / 333.1 MB, free: 11.94 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.3692, allocations: 77.11 kB / 333.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.3695, allocations: 241 kB / 333.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3695, allocations: 29.7 kB / 333.4 MB, free: 11.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3697, allocations: 164 kB / 333.6 MB, free: 11.39 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.3697, allocations: 43.3 kB / 333.6 MB, free: 11.35 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3698, allocations: 45.7 kB / 333.7 MB, free: 11.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.37, allocations: 330.8 kB / 334 MB, free: 10.97 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3703, allocations: 96.78 kB / 334.1 MB, free: 10.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.3707, allocations: 142.7 kB / 334.2 MB, free: 10.71 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.3714, allocations: 246.5 kB / 334.5 MB, free: 10.44 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3714, allocations: 4 kB / 334.5 MB, free: 10.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008564/0.3722, allocations: 314.9 kB / 334.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.3723, allocations: 33.7 kB / 334.8 MB, free: 10.08 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3723, allocations: 0 / 334.8 MB, free: 10.08 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.3723, allocations: 4 kB / 334.8 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.3726, allocations: 55.95 kB / 334.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3727, allocations: 0 / 334.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.373, allocations: 51.69 kB / 334.9 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.373, allocations: 15.98 kB / 334.9 MB, free: 9.953 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003555/0.3734, allocations: 168.1 kB / 335.1 MB, free: 9.785 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002866/0.3737, allocations: 130.8 kB / 335.2 MB, free: 9.633 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005194/0.3742, allocations: 227.6 kB / 335.5 MB, free: 9.383 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.927e-06/0.3742, allocations: 3.938 kB / 335.5 MB, free: 9.379 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006775/0.3749, allocations: 297.3 kB / 335.7 MB, free: 9.078 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.3749, allocations: 33.7 kB / 335.8 MB, free: 9.039 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.3749, allocations: 0 / 335.8 MB, free: 9.039 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.375, allocations: 4 kB / 335.8 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.3752, allocations: 51.89 kB / 335.8 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.3752, allocations: 0 / 335.8 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.3755, allocations: 39.81 kB / 335.9 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3755, allocations: 12.03 kB / 335.9 MB, free: 8.934 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.000154/0.3757, allocations: 192.5 kB / 336.1 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.3757, allocations: 19.75 kB / 336.1 MB, free: 8.719 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.3758, allocations: 25.83 kB / 336.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3758, allocations: 0 / 336.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3758, allocations: 0 / 336.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3758, allocations: 0 / 336.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.3762, allocations: 293.3 kB / 336.4 MB, free: 8.359 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3762, allocations: 0 / 336.4 MB, free: 8.359 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.3764, allocations: 43.95 kB / 336.4 MB, free: 8.316 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3764, allocations: 7.938 kB / 336.5 MB, free: 8.309 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-05/0.3765, allocations: 4 kB / 336.5 MB, free: 8.305 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3765, allocations: 0 / 336.5 MB, free: 8.305 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3765, allocations: 0 / 336.5 MB, free: 8.305 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009797/0.3775, allocations: 348.7 kB / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.3776, allocations: 92.86 kB / 336.9 MB, free: 7.836 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.3777, allocations: 8 kB / 336.9 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3779, allocations: 28.02 kB / 336.9 MB, free: 7.801 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.378, allocations: 19.98 kB / 336.9 MB, free: 7.781 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.378, allocations: 4 kB / 336.9 MB, free: 7.777 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.3782, allocations: 172.5 kB / 337.1 MB, free: 7.609 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3783, allocations: 0 / 337.1 MB, free: 7.609 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.3787, allocations: 99.78 kB / 337.2 MB, free: 7.512 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.0001678/0.3789, allocations: 95.25 kB / 337.3 MB, free: 7.41 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.38, allocations: 446.2 kB / 337.7 MB, free: 6.949 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.38, allocations: 0.75 kB / 337.7 MB, free: 6.949 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.3804, allocations: 99.86 kB / 337.8 MB, free: 6.852 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3807, allocations: 44.34 kB / 337.9 MB, free: 6.809 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3821, allocations: 482.7 kB / 338.4 MB, free: 6.309 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008426/0.383, allocations: 0.7402 MB / 339.1 MB, free: 5.543 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.3832, allocations: 25.92 kB / 339.1 MB, free: 5.52 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.3833, allocations: 27.44 kB / 339.1 MB, free: 5.492 MB / 270.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3833, allocations: 0 / 339.1 MB, free: 5.492 MB / 270.1 MB Notification: Performance of Templates: time 0.00913/0.3924, allocations: 2.963 MB / 342.1 MB, free: 2.527 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)