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.001695/0.001694, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002859/0.002859, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.859/1.859, allocations: 205.1 MB / 222 MB, free: 4.77 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.001325/0.001325, allocations: 43.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3994, allocations: 46.63 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005035/0.4045, allocations: 2.657 MB / 327.3 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.4067, allocations: 0.7054 MB / 328.1 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.407, allocations: 3.781 kB / 328.1 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.4072, allocations: 31.39 kB / 328.1 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.4075, allocations: 71.62 kB / 328.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.4078, allocations: 70.92 kB / 328.2 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.4082, allocations: 308.5 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.4085, allocations: 65.28 kB / 328.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.4088, allocations: 118.3 kB / 328.7 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.4091, allocations: 134.1 kB / 328.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.4092, allocations: 17.44 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.4092, allocations: 20.53 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.4093, allocations: 54.02 kB / 328.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.4095, allocations: 120.9 kB / 329 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.41, allocations: 288.5 kB / 329.3 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.41, allocations: 4 kB / 329.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.41, allocations: 1.062 kB / 329.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.4101, allocations: 0 / 329.3 MB, free: 14.36 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.001672/0.4117, allocations: 0.6204 MB / 330 MB, free: 13.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.4118, allocations: 13.08 kB / 330 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.4119, allocations: 26.69 kB / 330 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.4124, allocations: 262.2 kB / 330.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4124, allocations: 11.53 kB / 330.3 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.4125, allocations: 25.06 kB / 330.3 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.4133, allocations: 238.6 kB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4134, allocations: 0 / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.4134, allocations: 6.312 kB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.4134, allocations: 4.594 kB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.4143, allocations: 245.5 kB / 330.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.4164, allocations: 0.831 MB / 331.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.4174, allocations: 230.4 kB / 331.8 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.4178, allocations: 100.2 kB / 331.9 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.4178, allocations: 1.281 kB / 331.9 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007078/0.4186, allocations: 158.5 kB / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 3.927e-06/0.4186, allocations: 0 / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001251/0.4198, allocations: 290.8 kB / 332.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.42, allocations: 79.42 kB / 332.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.4204, allocations: 240.3 kB / 332.7 MB, free: 11.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.4205, allocations: 27.23 kB / 332.7 MB, free: 11.78 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4207, allocations: 168.1 kB / 332.9 MB, free: 11.62 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.4208, allocations: 49.09 kB / 332.9 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.4209, allocations: 49.05 kB / 333 MB, free: 11.54 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003974/0.4213, allocations: 327.6 kB / 333.3 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.4218, allocations: 95.19 kB / 333.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.4222, allocations: 154.6 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.4229, allocations: 238.5 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4229, allocations: 0 / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001017/0.424, allocations: 314.7 kB / 334.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/0.424, allocations: 29.7 kB / 334.1 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4241, allocations: 4 kB / 334.1 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/0.4241, allocations: 7.984 kB / 334.1 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.4244, allocations: 56.14 kB / 334.2 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.4244, allocations: 7.938 kB / 334.2 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.4248, allocations: 39.72 kB / 334.2 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.4249, allocations: 8 kB / 334.2 MB, free: 10.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003904/0.4253, allocations: 172.1 kB / 334.4 MB, free: 10.1 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002945/0.4256, allocations: 138.8 kB / 334.5 MB, free: 9.941 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005102/0.4261, allocations: 219.5 kB / 334.7 MB, free: 9.699 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.032e-06/0.4261, allocations: 7.938 kB / 334.7 MB, free: 9.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007104/0.4268, allocations: 289.2 kB / 335 MB, free: 9.398 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.4269, allocations: 29.7 kB / 335.1 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4269, allocations: 4 kB / 335.1 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.4269, allocations: 4 kB / 335.1 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.4271, allocations: 56.08 kB / 335.1 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4272, allocations: 0 / 335.1 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.4275, allocations: 39.81 kB / 335.2 MB, free: 9.262 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.4275, allocations: 8 kB / 335.2 MB, free: 9.254 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.0002105/0.4277, allocations: 200.1 kB / 335.4 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.4278, allocations: 19.8 kB / 335.4 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.98e-05/0.4279, allocations: 17.84 kB / 335.4 MB, free: 9.016 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4279, allocations: 8 kB / 335.4 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.4279, allocations: 0 / 335.4 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4279, allocations: 0 / 335.4 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.4284, allocations: 301.2 kB / 335.7 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4284, allocations: 0 / 335.7 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.4287, allocations: 43.89 kB / 335.7 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4287, allocations: 0 / 335.7 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.4287, allocations: 8 kB / 335.7 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4287, allocations: 0 / 335.7 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4288, allocations: 4 kB / 335.7 MB, free: 8.609 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.4298, allocations: 341.1 kB / 336.1 MB, free: 8.258 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.43, allocations: 100.8 kB / 336.2 MB, free: 8.141 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.4301, allocations: 8 kB / 336.2 MB, free: 8.133 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.4303, allocations: 23.97 kB / 336.2 MB, free: 8.109 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.4305, allocations: 15.97 kB / 336.2 MB, free: 8.094 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.4305, allocations: 8 kB / 336.2 MB, free: 8.086 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.4308, allocations: 172.5 kB / 336.4 MB, free: 7.918 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4308, allocations: 0 / 336.4 MB, free: 7.918 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.4314, allocations: 103.8 kB / 336.5 MB, free: 7.816 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.0002161/0.4316, allocations: 95.38 kB / 336.6 MB, free: 7.715 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.4329, allocations: 438.6 kB / 337 MB, free: 7.262 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4329, allocations: 0 / 337 MB, free: 7.262 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.4332, allocations: 95.88 kB / 337.1 MB, free: 7.168 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.4337, allocations: 49.62 kB / 337.2 MB, free: 7.121 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.435, allocations: 0.5419 MB / 337.7 MB, free: 6.551 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4354, allocations: 0.7365 MB / 338.4 MB, free: 5.789 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.4356, allocations: 25.94 kB / 338.5 MB, free: 5.766 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.4357, allocations: 19.44 kB / 338.5 MB, free: 5.746 MB / 270.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4357, allocations: 0 / 338.5 MB, free: 5.746 MB / 270.1 MB Notification: Performance of Templates: time 0.007991/0.4437, allocations: 2.72 MB / 341.2 MB, free: 3.027 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)