Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001099/0.001099, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01108/0.01109, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.838/1.838, 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.0004442/0.0004442, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2854, allocations: 47.58 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002608/0.288, allocations: 2.289 MB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.2894, allocations: 0.6994 MB / 330 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2896, allocations: 6.875 kB / 330 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.2897, allocations: 23.92 kB / 330.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.2899, allocations: 71.19 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.2902, allocations: 79.42 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.2906, allocations: 307.9 kB / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2908, allocations: 73.62 kB / 330.6 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.291, allocations: 100.4 kB / 330.7 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2912, allocations: 133 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.2913, allocations: 14.75 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.117e-05/0.2913, allocations: 13.75 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.2914, allocations: 53.92 kB / 330.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.2916, allocations: 142.7 kB / 331 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.2919, allocations: 287.6 kB / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2919, allocations: 0 / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2919, allocations: 1.312 kB / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2919, allocations: 0 / 331.3 MB, free: 14.16 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.001259/0.2932, allocations: 0.5863 MB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2932, allocations: 9.656 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.789e-05/0.2933, allocations: 30.19 kB / 331.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.2937, allocations: 265.8 kB / 332.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.2937, allocations: 12.44 kB / 332.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.2938, allocations: 21.38 kB / 332.2 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.2945, allocations: 255 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2945, allocations: 4.844 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.2946, allocations: 9.5 kB / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2946, allocations: 5.281 kB / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/0.2954, allocations: 286.3 kB / 332.8 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.297, allocations: 0.8405 MB / 333.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.298, allocations: 269.7 kB / 333.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.2983, allocations: 114.4 kB / 334 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2983, allocations: 1.031 kB / 334 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.2988, allocations: 178 kB / 334.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.2988, allocations: 0 / 334.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001036/0.2999, allocations: 350.8 kB / 334.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.3, allocations: 81.11 kB / 334.6 MB, free: 11.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.3003, allocations: 237 kB / 334.8 MB, free: 11.35 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3003, allocations: 25.7 kB / 334.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3004, allocations: 164 kB / 335 MB, free: 11.16 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.3005, allocations: 47.39 kB / 335 MB, free: 11.11 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.3005, allocations: 25.7 kB / 335.1 MB, free: 11.08 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3007, allocations: 330.8 kB / 335.4 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.301, allocations: 111.9 kB / 335.5 MB, free: 10.64 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.3014, allocations: 154.8 kB / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.3021, allocations: 278 kB / 335.9 MB, free: 10.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3021, allocations: 0 / 335.9 MB, free: 10.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008341/0.3029, allocations: 346.9 kB / 336.3 MB, free: 9.812 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.3031, allocations: 159.9 kB / 336.4 MB, free: 9.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.3031, allocations: 3.938 kB / 336.4 MB, free: 9.621 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3031, allocations: 4 kB / 336.4 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.3034, allocations: 67.89 kB / 336.5 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3034, allocations: 4 kB / 336.5 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.3037, allocations: 55.64 kB / 336.6 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.3038, allocations: 16 kB / 336.6 MB, free: 9.477 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/0.3038, allocations: 4 kB / 336.6 MB, free: 9.473 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006424/0.3044, allocations: 276.2 kB / 336.8 MB, free: 9.199 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3045, allocations: 4 kB / 336.8 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.3045, allocations: 3.938 kB / 336.9 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.3047, allocations: 63.89 kB / 336.9 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.3047, allocations: 0 / 336.9 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.3049, allocations: 43.84 kB / 337 MB, free: 9.086 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.305, allocations: 8 kB / 337 MB, free: 9.078 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.000171/0.3051, allocations: 205.1 kB / 337.2 MB, free: 8.867 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.3052, allocations: 27.66 kB / 337.2 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.3052, allocations: 25.77 kB / 337.2 MB, free: 8.816 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3052, allocations: 0 / 337.2 MB, free: 8.816 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3053, allocations: 0 / 337.2 MB, free: 8.816 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3053, allocations: 8 kB / 337.2 MB, free: 8.809 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.3056, allocations: 285.4 kB / 337.5 MB, free: 8.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3056, allocations: 3.984 kB / 337.5 MB, free: 8.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.3058, allocations: 47.97 kB / 337.6 MB, free: 8.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3058, allocations: 0 / 337.6 MB, free: 8.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3059, allocations: 11.92 kB / 337.6 MB, free: 8.418 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3059, allocations: 3.984 kB / 337.6 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3059, allocations: 4 kB / 337.6 MB, free: 8.41 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3069, allocations: 388.6 kB / 338 MB, free: 8.012 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.307, allocations: 96.95 kB / 338 MB, free: 7.898 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.307, allocations: 7.922 kB / 338.1 MB, free: 7.891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3073, allocations: 40.03 kB / 338.1 MB, free: 7.852 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.3073, allocations: 15.98 kB / 338.1 MB, free: 7.836 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3073, allocations: 3.984 kB / 338.1 MB, free: 7.832 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.3075, allocations: 172.5 kB / 338.3 MB, free: 7.664 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3075, allocations: 0 / 338.3 MB, free: 7.664 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.3079, allocations: 99.69 kB / 338.4 MB, free: 7.566 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.0001472/0.3081, allocations: 111.2 kB / 338.5 MB, free: 7.449 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3092, allocations: 470.8 kB / 338.9 MB, free: 6.965 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3092, allocations: 0 / 338.9 MB, free: 6.965 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.3095, allocations: 112.2 kB / 339.1 MB, free: 6.855 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3099, allocations: 48.28 kB / 339.1 MB, free: 6.809 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.3111, allocations: 0.5902 MB / 339.7 MB, free: 6.191 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3114, allocations: 0.7442 MB / 340.4 MB, free: 5.422 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.3116, allocations: 25.94 kB / 340.5 MB, free: 5.398 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.3117, allocations: 23.44 kB / 340.5 MB, free: 5.375 MB / 270.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3117, allocations: 0 / 340.5 MB, free: 5.375 MB / 270.1 MB Notification: Performance of Templates: time 0.00642/0.3181, allocations: 2.697 MB / 343.2 MB, free: 2.68 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)