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.00133/0.00133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.761/1.761, allocations: 205.1 MB / 222.4 MB, free: 4.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.001519/0.00152, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4523, allocations: 46.63 MB / 325.3 MB, free: 1.875 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005367/0.4577, allocations: 2.823 MB / 328.1 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.4595, allocations: 0.7546 MB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.4597, allocations: 4.375 kB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.46, allocations: 43.97 kB / 328.9 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.4603, allocations: 96.25 kB / 329 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.4607, allocations: 108.9 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.4614, allocations: 385.9 kB / 329.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.4617, allocations: 94.53 kB / 329.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.4621, allocations: 148.6 kB / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.4624, allocations: 171.2 kB / 329.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.4625, allocations: 32.88 kB / 330 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.4626, allocations: 32.78 kB / 330 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.364e-05/0.4627, allocations: 70.84 kB / 330.1 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.4629, allocations: 157.8 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005557/0.4635, allocations: 356.9 kB / 330.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4635, allocations: 0 / 330.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4635, allocations: 0 / 330.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.4635, allocations: 1.125 kB / 330.6 MB, free: 13.87 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.001556/0.4651, allocations: 0.6607 MB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.4651, allocations: 13.25 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.4652, allocations: 37.17 kB / 331.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.4656, allocations: 286.6 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.4657, allocations: 14.41 kB / 331.6 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.4658, allocations: 23.88 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/0.4665, allocations: 268.4 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4665, allocations: 1.312 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.4666, allocations: 14 kB / 331.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4666, allocations: 5.594 kB / 331.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.4675, allocations: 266 kB / 332.1 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.4694, allocations: 0.8903 MB / 333 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4705, allocations: 349.5 kB / 333.4 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.4709, allocations: 130.4 kB / 333.5 MB, free: 11.56 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.471, allocations: 0 / 333.5 MB, free: 11.56 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006253/0.4716, allocations: 193.6 kB / 333.7 MB, free: 11.35 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 3.547e-06/0.4716, allocations: 96 / 333.7 MB, free: 11.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001922/0.4735, allocations: 0.5914 MB / 334.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.4736, allocations: 102.8 kB / 334.4 MB, free: 10.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.474, allocations: 266.6 kB / 334.6 MB, free: 10.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.474, allocations: 33.7 kB / 334.7 MB, free: 10.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.4742, allocations: 184 kB / 334.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.4742, allocations: 59.19 kB / 334.9 MB, free: 10.06 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.4744, allocations: 49.84 kB / 335 MB, free: 10 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4745, allocations: 342.8 kB / 335.3 MB, free: 9.66 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.4749, allocations: 105.5 kB / 335.4 MB, free: 9.555 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.4753, allocations: 168.1 kB / 335.6 MB, free: 9.363 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/0.4759, allocations: 271.5 kB / 335.8 MB, free: 9.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.476, allocations: 0 / 335.8 MB, free: 9.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00125/0.4772, allocations: 423.5 kB / 336.2 MB, free: 8.641 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.4773, allocations: 37.7 kB / 336.3 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4773, allocations: 0 / 336.3 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/0.4779, allocations: 92.78 kB / 336.4 MB, free: 8.504 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.4782, allocations: 63.89 kB / 336.4 MB, free: 8.441 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.4803, allocations: 1.559 MB / 338 MB, free: 6.742 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.4807, allocations: 55.67 kB / 338 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.4807, allocations: 8 kB / 338 MB, free: 6.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003878/0.4811, allocations: 192.4 kB / 338.2 MB, free: 6.488 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003372/0.4815, allocations: 152.1 kB / 338.4 MB, free: 6.312 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005709/0.4821, allocations: 259.4 kB / 338.6 MB, free: 6.031 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.4821, allocations: 4 kB / 338.6 MB, free: 6.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000792/0.4829, allocations: 343.7 kB / 339 MB, free: 5.676 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.4829, allocations: 33.73 kB / 339 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.483, allocations: 4 kB / 339 MB, free: 5.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.833e-05/0.4831, allocations: 28.78 kB / 339 MB, free: 5.602 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4833, allocations: 51.95 kB / 339.1 MB, free: 5.551 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.4848, allocations: 1.54 MB / 340.6 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.4851, allocations: 51.89 kB / 340.7 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.4852, allocations: 4 kB / 340.7 MB, free: 3.816 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 (26): * Single equations (assignments): 24 * 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.0002281/0.4854, allocations: 204.1 kB / 340.9 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.4854, allocations: 27.66 kB / 340.9 MB, free: 3.582 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.4855, allocations: 26.17 kB / 340.9 MB, free: 3.559 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4855, allocations: 4 kB / 340.9 MB, free: 3.555 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4855, allocations: 3.938 kB / 340.9 MB, free: 3.551 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4856, allocations: 4 kB / 340.9 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.487, allocations: 0.7105 MB / 341.7 MB, free: 2.773 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.487, allocations: 4 kB / 341.7 MB, free: 2.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.4873, allocations: 43.91 kB / 341.7 MB, free: 2.727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.4875, allocations: 48.81 kB / 341.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4875, allocations: 8.031 kB / 341.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.4892, allocations: 1.555 MB / 343.3 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4892, allocations: 0 / 343.3 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.4905, allocations: 0.5067 MB / 343.8 MB, free: 456 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.4906, allocations: 96.86 kB / 343.9 MB, free: 340 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4907, allocations: 8 kB / 343.9 MB, free: 332 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.491, allocations: 32.02 kB / 344 MB, free: 300 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4911, allocations: 27.97 kB / 344 MB, free: 272 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.4911, allocations: 4 kB / 344 MB, free: 268 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.4914, allocations: 189.9 kB / 344.2 MB, free: 80 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4914, allocations: 0 / 344.2 MB, free: 80 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005797/0.4919, allocations: 131.7 kB / 344.3 MB, free: 15.95 MB / 286.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 (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.0002453/0.4922, allocations: 115.1 kB / 344.4 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.4938, allocations: 0.7032 MB / 345.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4938, allocations: 0 / 345.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.4942, allocations: 238.4 kB / 345.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.4947, allocations: 56.03 kB / 345.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4961, allocations: 0.5546 MB / 346 MB, free: 14.19 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4966, allocations: 0.7599 MB / 346.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.4967, allocations: 30.28 kB / 346.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.4968, allocations: 19.44 kB / 346.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4968, allocations: 11.81 kB / 346.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Templates: time 0.009503/0.5063, allocations: 4.222 MB / 351 MB, free: 9.113 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)