Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001298/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001605/0.001605, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.843/1.843, allocations: 205.1 MB / 222 MB, free: 4.754 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.001298/0.001298, allocations: 47.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3853, 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.004511/0.3898, allocations: 2.869 MB / 327.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3917, allocations: 0.7523 MB / 328.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3919, allocations: 4.125 kB / 328.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.3922, allocations: 40.72 kB / 328.4 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.3924, allocations: 80.16 kB / 328.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3927, allocations: 89.22 kB / 328.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.3933, allocations: 362.4 kB / 328.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.3936, allocations: 81.75 kB / 328.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.3939, allocations: 136.3 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.3943, allocations: 155.4 kB / 329.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.3943, allocations: 20.03 kB / 329.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.3944, allocations: 19.75 kB / 329.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.3945, allocations: 60.05 kB / 329.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3947, allocations: 145.5 kB / 329.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.3952, allocations: 352.6 kB / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3952, allocations: 1.344 kB / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3952, allocations: 0 / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3952, 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.001574/0.3968, allocations: 0.6538 MB / 330.5 MB, free: 13.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.3968, allocations: 10.06 kB / 330.5 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.397, allocations: 37.3 kB / 330.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.3974, allocations: 286.7 kB / 330.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3974, allocations: 18.03 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.3975, allocations: 20 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.3982, allocations: 267.8 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.3982, allocations: 3.984 kB / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3983, allocations: 10.25 kB / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3983, allocations: 9.938 kB / 331.1 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/0.3991, allocations: 270 kB / 331.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4009, allocations: 0.9158 MB / 332.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.4018, allocations: 241.3 kB / 332.5 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.4021, allocations: 109 kB / 332.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.4022, allocations: 2.375 kB / 332.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.4027, allocations: 181.8 kB / 332.8 MB, free: 11.72 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4027, allocations: 0 / 332.8 MB, free: 11.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002167/0.4049, allocations: 0.6239 MB / 333.4 MB, free: 11.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.405, allocations: 106.8 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.4053, allocations: 266.5 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.4054, allocations: 33.64 kB / 333.8 MB, free: 10.71 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4055, allocations: 179.8 kB / 334 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.4056, allocations: 55.28 kB / 334.1 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.4057, allocations: 53.61 kB / 334.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4059, allocations: 330.8 kB / 334.5 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.4062, allocations: 101 kB / 334.5 MB, free: 9.988 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.4066, allocations: 168.8 kB / 334.7 MB, free: 9.797 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.4072, allocations: 264 kB / 335 MB, free: 9.512 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4072, allocations: 0 / 335 MB, free: 9.512 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001051/0.4082, allocations: 435.6 kB / 335.4 MB, free: 9.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.4083, allocations: 33.7 kB / 335.4 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4083, allocations: 0 / 335.4 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/0.4088, allocations: 112.8 kB / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.409, allocations: 47.91 kB / 335.6 MB, free: 8.871 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.4113, allocations: 1.69 MB / 337.3 MB, free: 7.039 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.4116, allocations: 47.94 kB / 337.3 MB, free: 6.992 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.4117, allocations: 8 kB / 337.3 MB, free: 6.984 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003507/0.412, allocations: 192.3 kB / 337.5 MB, free: 6.793 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003129/0.4124, allocations: 156.3 kB / 337.7 MB, free: 6.613 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005483/0.4129, allocations: 239.5 kB / 337.9 MB, free: 6.352 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.4129, allocations: 0 / 337.9 MB, free: 6.352 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007813/0.4137, allocations: 355.5 kB / 338.3 MB, free: 5.988 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.4138, allocations: 33.7 kB / 338.3 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.4138, allocations: 0 / 338.3 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.4139, allocations: 45.02 kB / 338.3 MB, free: 5.902 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.4141, allocations: 51.91 kB / 338.4 MB, free: 5.852 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.4156, allocations: 1.541 MB / 339.9 MB, free: 4.176 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.416, allocations: 51.77 kB / 340 MB, free: 4.125 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.4161, allocations: 8 kB / 340 MB, free: 4.117 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.0002567/0.4163, allocations: 192.8 kB / 340.2 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.4164, allocations: 27.78 kB / 340.2 MB, free: 3.895 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.4165, allocations: 30.17 kB / 340.2 MB, free: 3.863 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4165, allocations: 3.938 kB / 340.2 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4165, allocations: 192 / 340.2 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.4165, allocations: 4 kB / 340.2 MB, free: 3.855 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.4169, allocations: 313.3 kB / 340.5 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.417, allocations: 3.938 kB / 340.5 MB, free: 3.496 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.4172, allocations: 31.97 kB / 340.6 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.4174, allocations: 68.73 kB / 340.6 MB, free: 3.395 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.4174, allocations: 8 kB / 340.6 MB, free: 3.387 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.4195, allocations: 1.589 MB / 342.2 MB, free: 1.668 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4195, allocations: 3.938 kB / 342.2 MB, free: 1.664 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.4207, allocations: 445.3 kB / 342.7 MB, free: 1.207 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.4208, allocations: 100.8 kB / 342.8 MB, free: 1.09 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.4208, allocations: 4 kB / 342.8 MB, free: 1.086 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.421, allocations: 36.2 kB / 342.8 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.4212, allocations: 27.91 kB / 342.8 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.4212, allocations: 4 kB / 342.8 MB, free: 1.02 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.4215, allocations: 198 kB / 343 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4215, allocations: 0 / 343 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00066/0.4221, allocations: 139.6 kB / 343.2 MB, free: 0.6914 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.0002015/0.4224, allocations: 95.25 kB / 343.3 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.424, allocations: 0.7072 MB / 344 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.424, allocations: 0 / 344 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.4244, 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.0003723/0.4248, allocations: 45.88 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.001221/0.4261, allocations: 0.6335 MB / 344.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.4266, allocations: 0.7522 MB / 345.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.4267, allocations: 26.3 kB / 345.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.4268, allocations: 19.44 kB / 345.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4268, allocations: 0 / 345.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of Templates: time 0.009319/0.4361, allocations: 4.163 MB / 349.9 MB, free: 9.887 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)