Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001031/0.001031, allocations: 90.52 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.009417/0.009418, allocations: 171.6 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.909/1.909, 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.0005582/0.0005583, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.358, allocations: 47.59 MB / 327 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00283/0.3608, allocations: 2.297 MB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3624, allocations: 0.6995 MB / 330 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.3627, allocations: 2.875 kB / 330 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.3629, allocations: 31.92 kB / 330.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.3632, allocations: 71.09 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3636, allocations: 71.48 kB / 330.2 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.3641, allocations: 311.8 kB / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.3643, allocations: 69.77 kB / 330.6 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.3646, allocations: 101.5 kB / 330.7 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.3648, allocations: 137.3 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.3649, allocations: 13.38 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.644e-05/0.3649, allocations: 15 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.365, allocations: 50.11 kB / 330.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.3652, allocations: 137.4 kB / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.3655, allocations: 289.1 kB / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3655, allocations: 0 / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3655, allocations: 0 / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3655, allocations: 1.156 kB / 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.001356/0.3669, allocations: 0.5899 MB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3669, allocations: 10 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.367, allocations: 29.72 kB / 331.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.3674, allocations: 266.1 kB / 332.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3675, allocations: 12.28 kB / 332.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.3675, allocations: 17.22 kB / 332.2 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.3682, allocations: 256.9 kB / 332.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3682, allocations: 3.938 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.3682, allocations: 9.391 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.3682, allocations: 4.719 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/0.3691, allocations: 285.8 kB / 332.8 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.3706, allocations: 0.8449 MB / 333.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/0.3715, allocations: 264.7 kB / 333.9 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.3719, allocations: 106.7 kB / 334 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3719, allocations: 4.891 kB / 334 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000512/0.3724, allocations: 187.1 kB / 334.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.3724, allocations: 0 / 334.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001994/0.3744, allocations: 0.659 MB / 334.8 MB, free: 11.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.3745, allocations: 85.05 kB / 334.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.3748, allocations: 241 kB / 335.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3749, allocations: 25.7 kB / 335.2 MB, free: 10.95 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.375, allocations: 168 kB / 335.3 MB, free: 10.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.3751, allocations: 47.39 kB / 335.4 MB, free: 10.74 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3751, allocations: 21.7 kB / 335.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3753, allocations: 326.8 kB / 335.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.3756, allocations: 111.9 kB / 335.8 MB, free: 10.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.376, allocations: 162.7 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.3767, allocations: 278.3 kB / 336.3 MB, free: 9.793 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3767, allocations: 4 kB / 336.3 MB, free: 9.789 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001164/0.3779, allocations: 435.8 kB / 336.7 MB, free: 9.348 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.378, allocations: 163.8 kB / 336.9 MB, free: 9.156 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3781, allocations: 11.94 kB / 336.9 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.3786, allocations: 120.7 kB / 337 MB, free: 9.023 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3789, allocations: 47.95 kB / 337 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.3808, allocations: 1.51 MB / 338.5 MB, free: 7.332 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3811, allocations: 43.81 kB / 338.6 MB, free: 7.289 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3812, allocations: 8 kB / 338.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.3812, allocations: 4 kB / 338.6 MB, free: 7.277 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007453/0.3819, allocations: 306.3 kB / 338.9 MB, free: 6.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3819, allocations: 4 kB / 338.9 MB, free: 6.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.658e-05/0.382, allocations: 24.84 kB / 338.9 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.3822, allocations: 47.91 kB / 339 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.3834, allocations: 1.377 MB / 340.3 MB, free: 5.379 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3837, allocations: 43.94 kB / 340.4 MB, free: 5.336 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.3837, allocations: 15.94 kB / 340.4 MB, free: 5.32 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.3839, allocations: 209.1 kB / 340.6 MB, free: 5.105 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.384, allocations: 19.72 kB / 340.6 MB, free: 5.086 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.384, allocations: 25.83 kB / 340.7 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.384, allocations: 4 kB / 340.7 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.384, allocations: 0 / 340.7 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.384, allocations: 7.938 kB / 340.7 MB, free: 5.055 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3843, allocations: 277.5 kB / 340.9 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3844, allocations: 0 / 340.9 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3846, allocations: 43.95 kB / 341 MB, free: 4.691 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.3848, allocations: 48.83 kB / 341 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3848, allocations: 8 kB / 341 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.3865, allocations: 1.495 MB / 342.5 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3865, allocations: 4 kB / 342.5 MB, free: 2.996 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.3877, allocations: 465.4 kB / 343 MB, free: 2.52 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.3878, allocations: 88.95 kB / 343.1 MB, free: 2.414 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3879, allocations: 11.94 kB / 343.1 MB, free: 2.402 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3881, allocations: 36.02 kB / 343.1 MB, free: 2.367 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.3882, allocations: 15.98 kB / 343.1 MB, free: 2.352 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3882, allocations: 11.98 kB / 343.1 MB, free: 2.34 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.3884, allocations: 168.5 kB / 343.3 MB, free: 2.176 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3884, allocations: 0 / 343.3 MB, free: 2.176 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.389, allocations: 119.7 kB / 343.4 MB, free: 2.059 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.3891, allocations: 103.1 kB / 343.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3905, allocations: 0.6873 MB / 344.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3905, allocations: 0.6875 kB / 344.2 MB, free: 1.211 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.391, allocations: 234.6 kB / 344.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3914, allocations: 40.36 kB / 344.5 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.3925, allocations: 0.6211 MB / 345.1 MB, free: 296 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.3931, allocations: 0.744 MB / 345.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.3932, allocations: 25.94 kB / 345.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.3933, allocations: 15.44 kB / 345.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3933, allocations: 4 kB / 345.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of Templates: time 0.008244/0.4015, allocations: 3.33 MB / 349.2 MB, free: 12.14 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)