Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009983/0.0009984, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 222.1 MB, free: 5.371 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.0008163/0.0008163, allocations: 11.98 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3866, allocations: 47.59 MB / 326.5 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003041/0.3897, allocations: 2.398 MB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3913, allocations: 0.713 MB / 329.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.3915, allocations: 4.594 kB / 329.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.3917, allocations: 36.55 kB / 329.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.3919, allocations: 80.86 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.3923, allocations: 75.27 kB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.3928, allocations: 349.7 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.3931, allocations: 72.33 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.3935, allocations: 126.4 kB / 330.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.3937, allocations: 139.3 kB / 330.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.3938, allocations: 16.38 kB / 330.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.3939, allocations: 16.94 kB / 330.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.394, allocations: 54.41 kB / 330.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3941, allocations: 80.36 kB / 330.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.3945, allocations: 262.3 kB / 330.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.3945, allocations: 0 / 330.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3945, allocations: 1.125 kB / 330.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3945, allocations: 0 / 330.9 MB, free: 14.09 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001398/0.3959, allocations: 0.637 MB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.396, allocations: 13.25 kB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.3961, allocations: 32.81 kB / 331.6 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.3965, allocations: 278.7 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.3966, allocations: 17.19 kB / 331.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.3966, allocations: 18.41 kB / 331.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.3973, allocations: 284.1 kB / 332.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3973, allocations: 1 kB / 332.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.3974, allocations: 9.969 kB / 332.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3974, allocations: 6.188 kB / 332.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.3983, allocations: 312.1 kB / 332.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.4001, allocations: 0.9152 MB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000879/0.401, allocations: 392.6 kB / 333.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.4014, allocations: 144.1 kB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.4015, allocations: 3.984 kB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.402, allocations: 201.9 kB / 334.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.402, allocations: 0 / 334.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001834/0.4038, allocations: 0.6929 MB / 334.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.4039, allocations: 106.8 kB / 334.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.4042, allocations: 270.5 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4042, allocations: 29.7 kB / 335.2 MB, free: 10.47 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.4044, allocations: 176 kB / 335.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.4045, allocations: 63.11 kB / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.4045, allocations: 0 / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4046, allocations: 346.8 kB / 335.8 MB, free: 9.879 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.4049, allocations: 108.2 kB / 335.9 MB, free: 9.773 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.4053, allocations: 192.9 kB / 336.1 MB, free: 9.559 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.4057, allocations: 149.8 kB / 336.2 MB, free: 9.406 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4057, allocations: 0 / 336.2 MB, free: 9.406 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00107/0.4068, allocations: 480.5 kB / 336.7 MB, free: 8.922 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.4069, allocations: 164.1 kB / 336.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.407, allocations: 4 kB / 336.9 MB, free: 8.727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.4073, allocations: 64.77 kB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.4076, allocations: 63.89 kB / 337 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.4096, allocations: 1.491 MB / 338.5 MB, free: 6.973 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.4099, allocations: 71.72 kB / 338.5 MB, free: 6.902 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.41, allocations: 8 kB / 338.5 MB, free: 6.895 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.41, allocations: 4 kB / 338.6 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007242/0.4107, allocations: 327 kB / 338.9 MB, free: 6.562 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.4107, allocations: 192 / 338.9 MB, free: 6.562 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-05/0.4108, allocations: 24.84 kB / 338.9 MB, free: 6.535 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.4111, allocations: 67.89 kB / 339 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.4122, allocations: 1.377 MB / 340.3 MB, free: 4.953 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.4125, allocations: 47.72 kB / 340.4 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4125, allocations: 16.19 kB / 340.4 MB, free: 4.891 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 (26): * Single equations (assignments): 24 * 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.0002117/0.4127, allocations: 220.9 kB / 340.6 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.4128, allocations: 31.66 kB / 340.6 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.4128, allocations: 26.19 kB / 340.7 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4128, allocations: 0 / 340.7 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4128, allocations: 0 / 340.7 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4128, allocations: 3.984 kB / 340.7 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.4142, allocations: 0.7497 MB / 341.4 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4142, allocations: 0 / 341.4 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.4145, allocations: 51.91 kB / 341.5 MB, free: 3.746 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.4146, allocations: 60.92 kB / 341.5 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.4147, allocations: 8 kB / 341.5 MB, free: 3.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.4163, allocations: 1.487 MB / 343 MB, free: 2.055 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4163, allocations: 4 kB / 343 MB, free: 2.051 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.4175, allocations: 0.5692 MB / 343.6 MB, free: 1.461 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.4176, allocations: 100.8 kB / 343.7 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4176, allocations: 11.89 kB / 343.7 MB, free: 1.332 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.4179, allocations: 43.95 kB / 343.8 MB, free: 1.289 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.418, allocations: 24.03 kB / 343.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.418, allocations: 7.938 kB / 343.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.4182, allocations: 194 kB / 344 MB, free: 1.07 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4182, allocations: 0 / 344 MB, free: 1.07 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.4188, allocations: 127.7 kB / 344.1 MB, free: 0.9453 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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.0002062/0.419, allocations: 103.2 kB / 344.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.4204, allocations: 0.743 MB / 344.9 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4204, allocations: 0 / 344.9 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.4209, allocations: 251 kB / 345.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.4214, allocations: 49.27 kB / 345.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4226, allocations: 0.6828 MB / 345.9 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.423, allocations: 0.7599 MB / 346.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.4231, allocations: 26.28 kB / 346.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.4232, allocations: 27.38 kB / 346.7 MB, free: 14.18 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4232, allocations: 4 kB / 346.7 MB, free: 14.18 MB / 286.1 MB Notification: Performance of Templates: time 0.0079/0.4311, allocations: 3.726 MB / 350.5 MB, free: 10.45 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)