Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001383/0.001383, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.00198/0.00198, allocations: 177.3 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.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005722/0.0005723, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.387, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003536/0.3906, allocations: 2.287 MB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3921, allocations: 0.7322 MB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.3923, allocations: 4.031 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.539e-05/0.3924, allocations: 31.34 kB / 329.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.3927, allocations: 116.1 kB / 329.6 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.393, allocations: 72.16 kB / 329.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.3934, allocations: 250.9 kB / 329.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.3937, allocations: 85.84 kB / 330 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.3939, allocations: 127.8 kB / 330.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3942, allocations: 139.3 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.3942, allocations: 16.91 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.3943, allocations: 16.81 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.3944, allocations: 51.19 kB / 330.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.3945, allocations: 75.61 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.3948, allocations: 261.8 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3948, allocations: 0 / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.3948, allocations: 0 / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3949, allocations: 0 / 330.7 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001526/0.3964, allocations: 0.6376 MB / 331.3 MB, free: 13.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.3965, allocations: 8.906 kB / 331.3 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3966, allocations: 32.69 kB / 331.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.397, allocations: 281.5 kB / 331.6 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.397, allocations: 21.77 kB / 331.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.3971, allocations: 19.72 kB / 331.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.3979, allocations: 274.9 kB / 332 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3979, allocations: 0 / 332 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.398, allocations: 9.031 kB / 332 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.398, allocations: 9.906 kB / 332 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009448/0.399, allocations: 300.6 kB / 332.3 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.4009, allocations: 0.9197 MB / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.402, allocations: 391.9 kB / 333.6 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.4021, allocations: 2.125 kB / 333.6 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006093/0.4027, allocations: 202.1 kB / 333.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.4027, allocations: 4 kB / 333.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002083/0.4048, allocations: 0.6848 MB / 334.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.4049, allocations: 106.8 kB / 334.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.4052, allocations: 270.6 kB / 334.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.4052, allocations: 25.7 kB / 334.9 MB, free: 10.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4054, allocations: 184 kB / 335 MB, free: 10.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.4055, allocations: 63.09 kB / 335.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.4055, allocations: 4 kB / 335.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4057, allocations: 334.8 kB / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.406, allocations: 124.1 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.4064, allocations: 184.9 kB / 335.7 MB, free: 9.906 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.4068, allocations: 141.9 kB / 335.9 MB, free: 9.762 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4068, allocations: 4.078 kB / 335.9 MB, free: 9.758 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00111/0.4079, allocations: 488.4 kB / 336.3 MB, free: 9.266 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004142/0.4083, allocations: 0.6454 MB / 337 MB, free: 8.566 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4083, allocations: 4 kB / 337 MB, free: 8.562 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.4087, allocations: 56.78 kB / 337.1 MB, free: 8.504 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.409, allocations: 67.89 kB / 337.1 MB, free: 8.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.4108, allocations: 1.519 MB / 338.6 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.4111, allocations: 59.75 kB / 338.7 MB, free: 6.727 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.4112, allocations: 12 kB / 338.7 MB, free: 6.715 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.4112, allocations: 4 kB / 338.7 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007284/0.4119, allocations: 327.2 kB / 339 MB, free: 6.383 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4119, allocations: 8.031 kB / 339 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.575e-05/0.412, allocations: 24.84 kB / 339.1 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.4123, allocations: 67.89 kB / 339.1 MB, free: 6.281 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009839/0.4133, allocations: 1.381 MB / 340.5 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.4136, allocations: 48 kB / 340.6 MB, free: 4.715 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.4136, allocations: 12 kB / 340.6 MB, free: 4.703 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.0002236/0.4138, allocations: 221 kB / 340.8 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.4139, allocations: 27.67 kB / 340.8 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.4139, allocations: 26.17 kB / 340.8 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.414, allocations: 4 kB / 340.8 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.414, allocations: 0 / 340.8 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.414, allocations: 0 / 340.8 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4153, allocations: 0.7574 MB / 341.6 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4153, allocations: 0 / 341.6 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.4156, allocations: 51.95 kB / 341.6 MB, free: 3.555 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.4157, allocations: 60.8 kB / 341.7 MB, free: 3.492 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.4158, allocations: 3.984 kB / 341.7 MB, free: 3.488 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.4174, allocations: 1.511 MB / 343.2 MB, free: 1.844 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4174, allocations: 4.062 kB / 343.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.4187, allocations: 0.5825 MB / 343.8 MB, free: 1.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.4188, allocations: 100.8 kB / 343.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.4188, allocations: 7.984 kB / 343.9 MB, free: 1.105 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.4191, allocations: 47.97 kB / 344 MB, free: 1.059 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.4192, allocations: 19.97 kB / 344 MB, free: 1.039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4192, allocations: 4 kB / 344 MB, free: 1.035 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.4194, allocations: 194 kB / 344.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4195, allocations: 0 / 344.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.4201, allocations: 127.7 kB / 344.3 MB, free: 0.7227 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.0002333/0.4203, allocations: 103.2 kB / 344.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.4218, allocations: 0.7507 MB / 345.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4218, allocations: 0 / 345.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.4223, allocations: 258.8 kB / 345.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.4226, allocations: 53.14 kB / 345.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.4238, allocations: 0.6518 MB / 346.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.4242, allocations: 0.7677 MB / 346.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.4243, allocations: 30.27 kB / 346.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.4244, allocations: 27.42 kB / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4244, allocations: 3.938 kB / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of Templates: time 0.008429/0.4329, allocations: 3.702 MB / 350.6 MB, free: 10.25 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) Environment - environmentSimulation: