Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001988/0.001988, allocations: 196.8 kB / 16.14 MB, free: 6.113 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.88/1.88, allocations: 205.1 MB / 222 MB, free: 4.719 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.001922/0.001922, allocations: 55.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.444, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00483/0.4489, allocations: 2.861 MB / 327.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.4509, allocations: 0.7526 MB / 328.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.4511, allocations: 8.094 kB / 328.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.4513, allocations: 37.19 kB / 328.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.4515, allocations: 80.22 kB / 328.4 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.4518, allocations: 91.91 kB / 328.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.4522, allocations: 367.6 kB / 328.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.4525, allocations: 78.7 kB / 329 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.4527, allocations: 135 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.4529, allocations: 156.4 kB / 329.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.453, allocations: 19.69 kB / 329.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.798e-05/0.453, allocations: 19.56 kB / 329.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.4531, allocations: 62.97 kB / 329.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.4533, allocations: 141.7 kB / 329.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.4538, allocations: 349.6 kB / 329.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4538, allocations: 4 kB / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4538, allocations: 1.406 kB / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4539, allocations: 0 / 329.8 MB, free: 14.02 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.001529/0.4554, allocations: 0.6578 MB / 330.5 MB, free: 13.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4554, allocations: 9.219 kB / 330.5 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.4555, allocations: 32.84 kB / 330.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.4559, allocations: 291.7 kB / 330.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.456, allocations: 13.84 kB / 330.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.4561, allocations: 24.66 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.4568, allocations: 267.6 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4568, allocations: 0 / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.4569, allocations: 14.02 kB / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4569, allocations: 5.594 kB / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.4578, allocations: 266.2 kB / 331.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.4597, allocations: 0.9201 MB / 332.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.4606, allocations: 237 kB / 332.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.4609, allocations: 105.6 kB / 332.6 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.4609, allocations: 6.344 kB / 332.6 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005705/0.4615, allocations: 180.7 kB / 332.8 MB, free: 11.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4615, allocations: 1.25 kB / 332.8 MB, free: 11.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.001997/0.4635, allocations: 0.6187 MB / 333.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.4636, allocations: 106.8 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.464, allocations: 274.5 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.464, allocations: 25.7 kB / 333.8 MB, free: 10.72 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4642, allocations: 183.8 kB / 334 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.4642, allocations: 59.27 kB / 334.1 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.4643, allocations: 45.61 kB / 334.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4645, allocations: 342.8 kB / 334.5 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.4648, allocations: 101 kB / 334.6 MB, free: 9.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.4651, allocations: 168.8 kB / 334.7 MB, free: 9.789 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.4657, allocations: 251.6 kB / 335 MB, free: 9.516 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4658, allocations: 4 kB / 335 MB, free: 9.512 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001043/0.4668, allocations: 427.6 kB / 335.4 MB, free: 9.078 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.4669, allocations: 37.7 kB / 335.4 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4669, allocations: 0 / 335.4 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.4674, allocations: 108.7 kB / 335.5 MB, free: 8.926 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.4676, allocations: 47.94 kB / 335.6 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.4696, allocations: 1.694 MB / 337.3 MB, free: 7.043 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.47, allocations: 47.75 kB / 337.3 MB, free: 6.996 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.47, allocations: 12 kB / 337.3 MB, free: 6.984 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003464/0.4704, allocations: 184.3 kB / 337.5 MB, free: 6.801 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002956/0.4707, allocations: 160.3 kB / 337.7 MB, free: 6.617 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005074/0.4712, allocations: 239.5 kB / 337.9 MB, free: 6.355 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.4712, allocations: 0 / 337.9 MB, free: 6.355 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007414/0.4719, allocations: 359.5 kB / 338.3 MB, free: 5.988 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.472, allocations: 29.7 kB / 338.3 MB, free: 5.953 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.472, allocations: 4 kB / 338.3 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.4721, allocations: 40.83 kB / 338.3 MB, free: 5.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.4723, allocations: 48.09 kB / 338.4 MB, free: 5.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.4736, allocations: 1.553 MB / 339.9 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.474, allocations: 39.81 kB / 340 MB, free: 4.133 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.474, allocations: 12 kB / 340 MB, free: 4.121 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.4742, allocations: 196.3 kB / 340.2 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.4742, allocations: 27.78 kB / 340.2 MB, free: 3.895 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.375e-05/0.4743, allocations: 26.17 kB / 340.2 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4743, allocations: 7.938 kB / 340.2 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4743, allocations: 0 / 340.2 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4744, allocations: 3.938 kB / 340.2 MB, free: 3.855 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.4747, allocations: 317.2 kB / 340.5 MB, free: 3.496 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4747, allocations: 3.984 kB / 340.5 MB, free: 3.492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.4749, allocations: 27.97 kB / 340.6 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.4752, allocations: 68.75 kB / 340.6 MB, free: 3.395 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4752, allocations: 4 kB / 340.6 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.4768, allocations: 1.589 MB / 342.2 MB, free: 1.672 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4769, allocations: 4.062 kB / 342.2 MB, free: 1.668 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.478, allocations: 449.8 kB / 342.7 MB, free: 1.207 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.4781, allocations: 96.8 kB / 342.8 MB, free: 1.094 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4782, allocations: 11.98 kB / 342.8 MB, free: 1.082 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.4784, allocations: 27.97 kB / 342.8 MB, free: 1.055 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4785, allocations: 31.95 kB / 342.8 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.4785, allocations: 4 kB / 342.8 MB, free: 1.02 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.4788, allocations: 198 kB / 343 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4788, allocations: 0 / 343 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006284/0.4794, allocations: 135.6 kB / 343.2 MB, free: 0.6953 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/0.4796, allocations: 103.2 kB / 343.3 MB, free: 0.582 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.4813, allocations: 0.6997 MB / 344 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4813, allocations: 4 kB / 344 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.4818, allocations: 242.5 kB / 344.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.4823, allocations: 44.59 kB / 344.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4835, allocations: 0.6267 MB / 344.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.484, allocations: 0.7561 MB / 345.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.4841, allocations: 30.28 kB / 345.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.4842, allocations: 19.44 kB / 345.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4842, allocations: 0 / 345.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of Templates: time 0.008977/0.4932, allocations: 4.163 MB / 349.9 MB, free: 9.887 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)