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.00127/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001592/0.001592, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.777/1.777, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001558/0.001559, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3663, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.006271/0.3726, allocations: 2.865 MB / 327.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.3752, allocations: 0.7426 MB / 328.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.3756, allocations: 4.312 kB / 328.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.376, allocations: 35.78 kB / 328.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3763, allocations: 90.05 kB / 328.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.3768, allocations: 87.2 kB / 328.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.3777, allocations: 382.6 kB / 329.1 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.3781, allocations: 103.6 kB / 329.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004439/0.3786, allocations: 147.2 kB / 329.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.379, allocations: 163.8 kB / 329.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3791, allocations: 36.45 kB / 329.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3792, allocations: 33.5 kB / 329.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3793, allocations: 66.56 kB / 329.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.3796, allocations: 161.2 kB / 329.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.3803, allocations: 357.2 kB / 330.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.3803, allocations: 5.094 kB / 330.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3804, allocations: 3.938 kB / 330.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3804, allocations: 0 / 330.1 MB, free: 13.95 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.002168/0.3826, allocations: 0.6618 MB / 330.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.478e-05/0.3827, allocations: 12.22 kB / 330.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3828, allocations: 33.75 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.3834, allocations: 283.3 kB / 331.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.3835, allocations: 17.86 kB / 331.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.3836, allocations: 23.22 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.3845, allocations: 269.3 kB / 331.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.3845, allocations: 4 kB / 331.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.3846, allocations: 10.25 kB / 331.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.3846, allocations: 5.688 kB / 331.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/0.3856, allocations: 274.5 kB / 331.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.3877, allocations: 0.8908 MB / 332.6 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.3889, allocations: 353.5 kB / 332.9 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.3895, allocations: 131.9 kB / 333 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.3895, allocations: 2.156 kB / 333 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008077/0.3903, allocations: 190.5 kB / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 5.26e-06/0.3904, allocations: 0 / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002135/0.3925, allocations: 0.5847 MB / 333.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.3926, allocations: 106.8 kB / 333.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.3931, allocations: 266.6 kB / 334.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.3931, allocations: 29.7 kB / 334.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3933, allocations: 176 kB / 334.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.3934, allocations: 67.17 kB / 334.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3935, allocations: 53.84 kB / 334.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3937, allocations: 334.8 kB / 334.8 MB, free: 9.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.3941, allocations: 109.5 kB / 334.9 MB, free: 9.711 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.3944, allocations: 172.8 kB / 335.1 MB, free: 9.516 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.3951, allocations: 263.6 kB / 335.4 MB, free: 9.23 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3951, allocations: 0 / 335.4 MB, free: 9.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00117/0.3963, allocations: 431.3 kB / 335.8 MB, free: 8.793 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.3963, allocations: 29.89 kB / 335.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3964, allocations: 8 kB / 335.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.397, allocations: 88.84 kB / 335.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.3973, allocations: 63.83 kB / 336 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.3996, allocations: 1.559 MB / 337.5 MB, free: 6.898 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.4001, allocations: 55.7 kB / 337.6 MB, free: 6.844 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.4002, allocations: 8 kB / 337.6 MB, free: 6.836 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004594/0.4007, allocations: 192.3 kB / 337.8 MB, free: 6.645 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003587/0.401, allocations: 156.1 kB / 337.9 MB, free: 6.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005737/0.4016, allocations: 251.4 kB / 338.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.4016, allocations: 0 / 338.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0009027/0.4025, allocations: 351.4 kB / 338.5 MB, free: 5.832 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.4026, allocations: 33.7 kB / 338.6 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4026, allocations: 0 / 338.6 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.4028, allocations: 24.84 kB / 338.6 MB, free: 5.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.4031, allocations: 64.08 kB / 338.6 MB, free: 5.703 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.4046, allocations: 1.54 MB / 340.2 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.4052, allocations: 47.83 kB / 340.2 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.4052, allocations: 8 kB / 340.2 MB, free: 3.969 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.0002947/0.4055, allocations: 204.2 kB / 340.4 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.4056, allocations: 27.66 kB / 340.5 MB, free: 3.734 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.4057, allocations: 26.17 kB / 340.5 MB, free: 3.711 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4057, allocations: 4 kB / 340.5 MB, free: 3.707 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4057, allocations: 3.938 kB / 340.5 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4057, allocations: 96 / 340.5 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.4076, allocations: 0.7089 MB / 341.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.4076, allocations: 3.984 kB / 341.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.4079, allocations: 47.98 kB / 341.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.4082, allocations: 48.77 kB / 341.3 MB, free: 2.832 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.4083, allocations: 0 / 341.3 MB, free: 2.832 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.4108, allocations: 1.555 MB / 342.9 MB, free: 1.137 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4108, allocations: 0 / 342.9 MB, free: 1.137 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.4123, allocations: 0.5045 MB / 343.4 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.4125, allocations: 100.9 kB / 343.5 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.4126, allocations: 11.98 kB / 343.5 MB, free: 492 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4129, allocations: 27.97 kB / 343.5 MB, free: 464 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4131, allocations: 27.91 kB / 343.5 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4131, allocations: 4 kB / 343.5 MB, free: 432 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.4134, allocations: 202 kB / 343.7 MB, free: 232 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4134, allocations: 0 / 343.7 MB, free: 232 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0008583/0.4143, allocations: 131.7 kB / 343.9 MB, free: 100 kB / 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 (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.0003111/0.4146, allocations: 107.3 kB / 344 MB, free: 15.98 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.4163, allocations: 0.7067 MB / 344.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4163, allocations: 0 / 344.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.4168, allocations: 244.1 kB / 344.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.4173, allocations: 40.53 kB / 344.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4187, allocations: 0.6562 MB / 345.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.4192, allocations: 0.7599 MB / 346.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.4193, allocations: 30.28 kB / 346.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.4194, allocations: 19.44 kB / 346.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4194, allocations: 3.938 kB / 346.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of Templates: time 0.009548/0.429, allocations: 4.132 MB / 350.5 MB, free: 9.273 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)