Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009991, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001017/0.001017, allocations: 177.3 kB / 15.94 MB, free: 228 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.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0005215/0.0005215, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4003, allocations: 47.59 MB / 326.5 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003926/0.4043, allocations: 2.116 MB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4059, allocations: 0.6822 MB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.4061, allocations: 4 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.634e-05/0.4062, allocations: 26.83 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.4065, allocations: 93.78 kB / 329.4 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.4068, allocations: 59.66 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.4072, allocations: 211.3 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.4075, allocations: 68.31 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.4077, allocations: 111.3 kB / 329.8 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.4079, allocations: 125.8 kB / 329.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.408, allocations: 14 kB / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.4081, allocations: 14.25 kB / 330 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.4081, allocations: 46.22 kB / 330 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.4082, allocations: 67.27 kB / 330.1 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.4085, allocations: 215.6 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4085, allocations: 0 / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.4085, allocations: 1.25 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.4086, allocations: 0 / 330.3 MB, free: 14.5 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.001452/0.41, allocations: 0.5999 MB / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.4101, allocations: 8.906 kB / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.4102, allocations: 29.91 kB / 330.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.4106, allocations: 256.5 kB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.4106, allocations: 12.53 kB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.4107, allocations: 21.41 kB / 331.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.4114, allocations: 247.8 kB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4114, allocations: 0 / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.4115, allocations: 6.281 kB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4115, allocations: 13.02 kB / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4125, allocations: 276.5 kB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.4145, allocations: 0.8487 MB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4155, allocations: 280.8 kB / 332.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.4156, allocations: 1.188 kB / 332.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/0.4162, allocations: 180.6 kB / 333 MB, free: 12.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4162, allocations: 1 kB / 333 MB, free: 12.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002128/0.4183, allocations: 0.6544 MB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.4184, allocations: 81.11 kB / 333.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.4187, allocations: 236.9 kB / 334 MB, free: 11.67 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.4188, allocations: 33.7 kB / 334 MB, free: 11.63 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.419, allocations: 164 kB / 334.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.419, allocations: 43.3 kB / 334.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.4191, allocations: 8 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003218/0.4194, allocations: 326.8 kB / 334.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.4198, allocations: 104.1 kB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.4202, allocations: 167.1 kB / 334.8 MB, free: 10.8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.4206, allocations: 137.7 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4207, allocations: 0 / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001264/0.4219, allocations: 442.2 kB / 335.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005706/0.4225, allocations: 0.6374 MB / 336 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4225, allocations: 3.938 kB / 336 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.423, allocations: 64.81 kB / 336.1 MB, free: 9.449 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.4232, allocations: 47.91 kB / 336.2 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.4257, allocations: 1.526 MB / 337.7 MB, free: 7.742 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.4261, allocations: 39.81 kB / 337.7 MB, free: 7.703 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.4261, allocations: 12 kB / 337.7 MB, free: 7.691 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4262, allocations: 4 kB / 337.7 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007621/0.4269, allocations: 294.4 kB / 338 MB, free: 7.391 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.427, allocations: 4 kB / 338 MB, free: 7.387 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.304e-05/0.427, allocations: 28.83 kB / 338.1 MB, free: 7.355 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.4273, allocations: 47.95 kB / 338.1 MB, free: 7.309 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.4288, allocations: 1.392 MB / 339.5 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.4291, allocations: 44.05 kB / 339.5 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.4291, allocations: 8.203 kB / 339.5 MB, free: 5.73 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 (20): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003815/0.4295, allocations: 205.1 kB / 339.7 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.4295, allocations: 23.75 kB / 339.8 MB, free: 5.496 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.4296, allocations: 29.78 kB / 339.8 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4296, allocations: 0 / 339.8 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4296, allocations: 4 kB / 339.8 MB, free: 5.469 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4296, allocations: 4 kB / 339.8 MB, free: 5.465 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.43, allocations: 281.4 kB / 340.1 MB, free: 5.141 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.43, allocations: 0 / 340.1 MB, free: 5.141 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.4302, allocations: 39.91 kB / 340.1 MB, free: 5.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.4304, allocations: 60.89 kB / 340.2 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.4305, allocations: 4 kB / 340.2 MB, free: 5.035 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.4322, allocations: 1.51 MB / 341.7 MB, free: 3.387 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4322, allocations: 0 / 341.7 MB, free: 3.387 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4334, allocations: 457.6 kB / 342.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.4335, allocations: 104.8 kB / 342.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4335, allocations: 4 kB / 342.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.4337, allocations: 31.97 kB / 342.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4338, allocations: 19.97 kB / 342.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.4339, allocations: 20.05 kB / 342.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4341, allocations: 164.5 kB / 342.5 MB, free: 2.562 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4341, allocations: 0 / 342.5 MB, free: 2.562 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.4346, allocations: 115.7 kB / 342.6 MB, free: 2.449 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 (11): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.4348, allocations: 95.25 kB / 342.7 MB, free: 2.348 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.4364, allocations: 0.6916 MB / 343.4 MB, free: 1.605 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4364, allocations: 0 / 343.4 MB, free: 1.605 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.4369, allocations: 234.8 kB / 343.6 MB, free: 1.363 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.4372, allocations: 36.7 kB / 343.6 MB, free: 1.328 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.4385, allocations: 0.5875 MB / 344.2 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.439, allocations: 0.7518 MB / 345 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.4391, allocations: 25.94 kB / 345 MB, free: 15.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.4392, allocations: 19.44 kB / 345 MB, free: 15.89 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4392, allocations: 0 / 345 MB, free: 15.89 MB / 286.1 MB Notification: Performance of Templates: time 0.00847/0.4477, allocations: 3.23 MB / 348.3 MB, free: 12.67 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) Environment - environmentSimulation: