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.001255/0.001255, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001482/0.001482, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0005091/0.0005099, allocations: 18.8 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.307, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00448/0.3116, allocations: 2.2 MB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.314, allocations: 0.6737 MB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.3142, allocations: 11.78 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.3144, allocations: 27.55 kB / 329.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.3146, allocations: 62.73 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.315, allocations: 75.31 kB / 329.5 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.3154, allocations: 286.4 kB / 329.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.3157, allocations: 71.81 kB / 329.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.3159, allocations: 109.9 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.3162, allocations: 120.5 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.3162, allocations: 14.03 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.62e-05/0.3163, allocations: 14.59 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.3163, allocations: 49.94 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.3164, allocations: 66.8 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.3167, allocations: 220.9 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3167, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3168, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3168, allocations: 1.031 kB / 330.5 MB, free: 14.34 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.001599/0.3184, allocations: 0.5928 MB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.312e-05/0.3185, allocations: 8.469 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.3186, allocations: 29.19 kB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.3192, allocations: 262.1 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.3193, allocations: 15.31 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/0.3194, allocations: 17.19 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.3202, allocations: 249.7 kB / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3202, allocations: 3.938 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.3203, allocations: 6.156 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.3203, allocations: 5.375 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.3211, allocations: 279.9 kB / 331.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.323, allocations: 0.8421 MB / 332.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.324, allocations: 269.9 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.3244, allocations: 105.9 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.3244, allocations: 10.19 kB / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.325, allocations: 180.3 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.325, allocations: 0.9688 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001191/0.3262, allocations: 330 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.3263, allocations: 83.42 kB / 333.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.3267, allocations: 233.7 kB / 333.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.3267, allocations: 31.73 kB / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.3269, allocations: 169.1 kB / 334.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.327, allocations: 48.64 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.327, allocations: 8 kB / 334.2 MB, free: 11.56 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3272, allocations: 330.8 kB / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.3275, allocations: 104.1 kB / 334.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.3279, allocations: 163.1 kB / 334.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.3282, allocations: 133.7 kB / 334.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3282, allocations: 0 / 334.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007571/0.329, allocations: 342.2 kB / 335.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.3291, allocations: 167.8 kB / 335.4 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3291, allocations: 4 kB / 335.4 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3291, allocations: 4 kB / 335.4 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3294, allocations: 67.89 kB / 335.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3294, allocations: 4 kB / 335.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.3297, allocations: 43.81 kB / 335.5 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.3298, allocations: 8 kB / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.3298, allocations: 4 kB / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005872/0.3304, allocations: 281.4 kB / 335.8 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3304, allocations: 4 kB / 335.8 MB, free: 9.852 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.3304, allocations: 4 kB / 335.8 MB, free: 9.848 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3306, allocations: 59.95 kB / 335.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3306, allocations: 3.984 kB / 335.9 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.3309, allocations: 47.8 kB / 335.9 MB, free: 9.738 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3309, allocations: 15.94 kB / 336 MB, free: 9.723 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.3311, allocations: 201.1 kB / 336.2 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.3312, allocations: 19.81 kB / 336.2 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.3313, allocations: 25.83 kB / 336.2 MB, free: 9.473 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.3313, allocations: 11.98 kB / 336.2 MB, free: 9.461 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3313, allocations: 0 / 336.2 MB, free: 9.461 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3313, allocations: 3.953 kB / 336.2 MB, free: 9.457 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.3317, allocations: 285.3 kB / 336.5 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3317, allocations: 0 / 336.5 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.3319, allocations: 51.89 kB / 336.5 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3319, allocations: 0 / 336.5 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3319, allocations: 8 kB / 336.5 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3319, allocations: 0 / 336.5 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.332, allocations: 4 kB / 336.6 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.3329, allocations: 380.7 kB / 336.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.333, allocations: 104.8 kB / 337 MB, free: 8.555 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3331, allocations: 0 / 337 MB, free: 8.555 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3333, allocations: 40.03 kB / 337.1 MB, free: 8.516 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.3334, allocations: 19.91 kB / 337.1 MB, free: 8.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3334, allocations: 4 kB / 337.1 MB, free: 8.492 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.3336, allocations: 176.4 kB / 337.3 MB, free: 8.32 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3336, allocations: 0 / 337.3 MB, free: 8.32 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004255/0.334, allocations: 103.7 kB / 337.4 MB, free: 8.219 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 (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.0001441/0.3342, allocations: 111.1 kB / 337.5 MB, free: 8.102 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3352, allocations: 470.8 kB / 337.9 MB, free: 7.617 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3353, allocations: 0 / 337.9 MB, free: 7.617 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.3356, allocations: 112.8 kB / 338 MB, free: 7.508 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3359, allocations: 36.42 kB / 338.1 MB, free: 7.473 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3371, allocations: 0.5673 MB / 338.6 MB, free: 6.879 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.3376, allocations: 0.7404 MB / 339.4 MB, free: 6.113 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.3377, allocations: 29.88 kB / 339.4 MB, free: 6.086 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.3378, allocations: 19.44 kB / 339.4 MB, free: 6.066 MB / 270.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3378, allocations: 0 / 339.4 MB, free: 6.066 MB / 270.1 MB Notification: Performance of Templates: time 0.007028/0.3448, allocations: 2.62 MB / 342.1 MB, free: 3.449 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)