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.001055/0.001056, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009349/0.0009352, allocations: 172.7 kB / 15.95 MB, free: 208 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.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0005115/0.0005117, allocations: 16 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2879, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002796/0.2908, allocations: 2.212 MB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2922, allocations: 0.6741 MB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2923, allocations: 3.5 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2925, allocations: 26.61 kB / 329.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2926, allocations: 71.53 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.2929, allocations: 66.78 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.2933, allocations: 291.1 kB / 329.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.2936, allocations: 64.25 kB / 329.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2938, allocations: 112.9 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.294, allocations: 121.1 kB / 330.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.2941, allocations: 13.53 kB / 330.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.2941, allocations: 14.38 kB / 330.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.2942, allocations: 45.61 kB / 330.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2943, allocations: 67.17 kB / 330.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.2946, allocations: 221 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2946, allocations: 4 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2946, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2946, allocations: 1.312 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.001342/0.296, allocations: 0.5919 MB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.296, allocations: 9.375 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.177e-05/0.2961, allocations: 30.09 kB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.2965, allocations: 256.8 kB / 331.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.2966, allocations: 20.12 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.2966, allocations: 16.5 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.2973, allocations: 250.5 kB / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2973, allocations: 0 / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.2974, allocations: 5.344 kB / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.2974, allocations: 5.219 kB / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.2982, allocations: 280.2 kB / 331.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.2998, allocations: 0.8452 MB / 332.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/0.3007, allocations: 274.3 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.301, allocations: 111.7 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.301, allocations: 0 / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005067/0.3015, allocations: 182.1 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.3015, allocations: 0 / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001065/0.3026, allocations: 333.5 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.3027, allocations: 83.38 kB / 333.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.303, allocations: 234.3 kB / 333.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.3031, allocations: 33.7 kB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3032, allocations: 160 kB / 334.1 MB, free: 11.6 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.3033, allocations: 55.22 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.3033, allocations: 8 kB / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3035, allocations: 330.8 kB / 334.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3038, allocations: 100.1 kB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.3041, allocations: 163.1 kB / 334.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.3045, allocations: 133.7 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3045, allocations: 4 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007369/0.3052, allocations: 333.5 kB / 335.2 MB, free: 10.45 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.3053, allocations: 171.9 kB / 335.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3053, allocations: 7.984 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3054, allocations: 4 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.3056, allocations: 63.95 kB / 335.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3056, allocations: 4 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.3059, allocations: 47.81 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.306, allocations: 8 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.942e-06/0.306, allocations: 7.938 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005991/0.3066, allocations: 273.4 kB / 335.8 MB, free: 9.836 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3066, allocations: 4 kB / 335.8 MB, free: 9.832 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/0.3066, allocations: 7.922 kB / 335.8 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.3068, allocations: 72.05 kB / 335.9 MB, free: 9.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3069, allocations: 4 kB / 335.9 MB, free: 9.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.3071, allocations: 39.77 kB / 335.9 MB, free: 9.711 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3071, allocations: 12 kB / 336 MB, free: 9.699 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.000168/0.3073, allocations: 213.1 kB / 336.2 MB, free: 9.48 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.3073, allocations: 15.81 kB / 336.2 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.3074, allocations: 21.83 kB / 336.2 MB, free: 9.445 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.3074, allocations: 4 kB / 336.2 MB, free: 9.441 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3074, allocations: 0 / 336.2 MB, free: 9.441 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3074, allocations: 3.953 kB / 336.2 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3077, allocations: 289.3 kB / 336.5 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3077, allocations: 0 / 336.5 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.3079, allocations: 51.95 kB / 336.5 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.308, allocations: 0 / 336.5 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.308, allocations: 4 kB / 336.5 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.308, allocations: 4 kB / 336.5 MB, free: 9.047 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.308, allocations: 0 / 336.5 MB, free: 9.047 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.3089, allocations: 392.6 kB / 336.9 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.309, allocations: 100.9 kB / 337 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.309, allocations: 0 / 337 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3092, allocations: 39.95 kB / 337.1 MB, free: 8.488 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.3093, allocations: 15.98 kB / 337.1 MB, free: 8.473 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.3094, allocations: 3.984 kB / 337.1 MB, free: 8.469 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3095, allocations: 176.5 kB / 337.3 MB, free: 8.297 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3095, allocations: 0 / 337.3 MB, free: 8.297 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.3099, allocations: 103.7 kB / 337.4 MB, free: 8.195 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.0001405/0.3101, allocations: 103.2 kB / 337.5 MB, free: 8.086 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3111, allocations: 470.5 kB / 337.9 MB, free: 7.602 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3111, allocations: 0.6875 kB / 337.9 MB, free: 7.602 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.3114, allocations: 112.5 kB / 338 MB, free: 7.492 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3118, allocations: 44.41 kB / 338.1 MB, free: 7.449 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3129, allocations: 0.563 MB / 338.6 MB, free: 6.859 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3133, allocations: 0.7404 MB / 339.4 MB, free: 6.094 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.3134, allocations: 29.92 kB / 339.4 MB, free: 6.066 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.3135, allocations: 23.44 kB / 339.4 MB, free: 6.043 MB / 270.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3135, allocations: 0 / 339.4 MB, free: 6.043 MB / 270.1 MB Notification: Performance of Templates: time 0.00616/0.3197, allocations: 2.624 MB / 342.1 MB, free: 3.422 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)