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.001173/0.001174, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009679/0.00968, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.961/1.961, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0009865/0.000987, allocations: 15.14 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3723, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003247/0.3756, allocations: 2.289 MB / 329.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3772, allocations: 0.696 MB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3773, allocations: 3.719 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.3775, allocations: 30.77 kB / 330.1 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.3777, allocations: 79.25 kB / 330.1 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.378, allocations: 70.94 kB / 330.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.3785, allocations: 312.3 kB / 330.5 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3787, allocations: 62.02 kB / 330.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.3789, allocations: 112.2 kB / 330.7 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3792, allocations: 126 kB / 330.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.3792, allocations: 14.16 kB / 330.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.3793, allocations: 17.38 kB / 330.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.3793, allocations: 53.66 kB / 330.9 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3795, allocations: 142 kB / 331 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.3799, allocations: 284.3 kB / 331.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3799, allocations: 1.156 kB / 331.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3799, allocations: 0 / 331.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3799, allocations: 0 / 331.3 MB, free: 14.13 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.001626/0.3816, allocations: 0.5864 MB / 331.9 MB, free: 13.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.3816, allocations: 13.62 kB / 331.9 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.3818, allocations: 30.75 kB / 331.9 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.3822, allocations: 265.7 kB / 332.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.3823, allocations: 11.94 kB / 332.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/0.3824, allocations: 21.86 kB / 332.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/0.3831, allocations: 255.7 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3831, allocations: 3.938 kB / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.3832, allocations: 5.969 kB / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.3832, allocations: 8.281 kB / 332.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009285/0.3841, allocations: 281.8 kB / 332.8 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3859, allocations: 0.8506 MB / 333.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3869, allocations: 268.8 kB / 333.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.3873, allocations: 106.5 kB / 334 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.3874, allocations: 1.125 kB / 334 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005754/0.388, allocations: 181.8 kB / 334.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.388, allocations: 0 / 334.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001119/0.3891, allocations: 345.5 kB / 334.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.3892, allocations: 81.09 kB / 334.6 MB, free: 11.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3895, allocations: 237 kB / 334.8 MB, free: 11.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.3895, allocations: 29.7 kB / 334.8 MB, free: 11.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.3897, allocations: 168 kB / 335 MB, free: 11.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.3898, allocations: 39.39 kB / 335 MB, free: 11.09 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.3899, allocations: 29.7 kB / 335.1 MB, free: 11.06 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3901, allocations: 330.8 kB / 335.4 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.3904, allocations: 99.92 kB / 335.5 MB, free: 10.63 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.3908, allocations: 162.8 kB / 335.7 MB, free: 10.45 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.3915, allocations: 282.8 kB / 335.9 MB, free: 10.14 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3915, allocations: 0 / 335.9 MB, free: 10.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008086/0.3923, allocations: 342.9 kB / 336.3 MB, free: 9.797 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.3925, allocations: 163.9 kB / 336.4 MB, free: 9.605 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3925, allocations: 11.88 kB / 336.4 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.3925, allocations: 0 / 336.4 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.3928, allocations: 63.89 kB / 336.5 MB, free: 9.531 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3929, allocations: 4 kB / 336.5 MB, free: 9.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.3932, allocations: 51.72 kB / 336.6 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3932, allocations: 8 kB / 336.6 MB, free: 9.469 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.3932, allocations: 4 kB / 336.6 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006596/0.3939, allocations: 277.4 kB / 336.8 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3939, allocations: 8.188 kB / 336.8 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/0.3939, allocations: 7.938 kB / 336.9 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.3941, allocations: 55.95 kB / 336.9 MB, free: 9.117 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3941, allocations: 7.938 kB / 336.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3944, allocations: 43.81 kB / 337 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3944, allocations: 8 kB / 337 MB, free: 9.059 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.0001985/0.3946, allocations: 205.1 kB / 337.2 MB, free: 8.848 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3946, allocations: 23.72 kB / 337.2 MB, free: 8.824 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.3947, allocations: 25.77 kB / 337.2 MB, free: 8.801 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3947, allocations: 4 kB / 337.2 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3947, allocations: 0 / 337.2 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3947, allocations: 0 / 337.2 MB, free: 8.797 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.3951, allocations: 285.4 kB / 337.5 MB, free: 8.469 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3951, allocations: 4 kB / 337.5 MB, free: 8.465 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.3953, allocations: 51.89 kB / 337.6 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3954, allocations: 0 / 337.6 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.3954, allocations: 3.938 kB / 337.6 MB, free: 8.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3954, allocations: 4 kB / 337.6 MB, free: 8.406 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3954, allocations: 0 / 337.6 MB, free: 8.406 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3964, allocations: 392.6 kB / 337.9 MB, free: 8.004 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.3965, allocations: 92.94 kB / 338 MB, free: 7.895 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.3966, allocations: 7.938 kB / 338 MB, free: 7.887 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3968, allocations: 36.03 kB / 338.1 MB, free: 7.852 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.3969, allocations: 23.91 kB / 338.1 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3969, allocations: 4 kB / 338.1 MB, free: 7.824 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.3971, allocations: 172.5 kB / 338.3 MB, free: 7.656 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3971, allocations: 0 / 338.3 MB, free: 7.656 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000425/0.3975, allocations: 103.7 kB / 338.4 MB, free: 7.555 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.0001756/0.3977, allocations: 103.8 kB / 338.5 MB, free: 7.445 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3989, allocations: 478.8 kB / 338.9 MB, free: 6.953 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3989, allocations: 0 / 338.9 MB, free: 6.953 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.3992, allocations: 120.1 kB / 339.1 MB, free: 6.836 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3996, allocations: 40.41 kB / 339.1 MB, free: 6.797 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.4008, allocations: 0.5902 MB / 339.7 MB, free: 6.18 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.4012, allocations: 0.7403 MB / 340.4 MB, free: 5.414 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.4013, allocations: 25.94 kB / 340.5 MB, free: 5.391 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.4014, allocations: 19.44 kB / 340.5 MB, free: 5.371 MB / 270.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4014, allocations: 4 kB / 340.5 MB, free: 5.367 MB / 270.1 MB Notification: Performance of Templates: time 0.006583/0.408, allocations: 2.691 MB / 343.2 MB, free: 2.68 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)