Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001361/0.001361, allocations: 107 kB / 17.06 MB, free: 6.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.001427/0.001427, allocations: 195 kB / 18 MB, free: 5.172 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.745/1.745, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001386/0.001386, allocations: 47.94 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.161, allocations: 46.61 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005769/0.1668, allocations: 2.815 MB / 377.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1693, allocations: 0.7524 MB / 378.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.1696, allocations: 11.94 kB / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1699, allocations: 43.56 kB / 378.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.1702, allocations: 99.17 kB / 378.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.1707, allocations: 103.8 kB / 378.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.1714, allocations: 386.3 kB / 378.7 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.1718, allocations: 96.94 kB / 378.8 MB, free: 208 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.1722, allocations: 155.3 kB / 379 MB, free: 52 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4183/0.5905, allocations: 153.7 kB / 379.1 MB, free: 10 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.5908, allocations: 32.34 kB / 379.1 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.5909, allocations: 32.28 kB / 379.2 MB, free: 10 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.591, allocations: 71.84 kB / 379.2 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.5913, allocations: 161.6 kB / 379.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008984/0.5922, allocations: 351.4 kB / 379.7 MB, free: 9.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.5923, allocations: 1.219 kB / 379.7 MB, free: 9.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.5923, allocations: 0 / 379.7 MB, free: 9.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.5923, allocations: 0 / 379.7 MB, free: 9.949 MB / 318.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.0018/0.5941, allocations: 0.6686 MB / 380.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.5942, allocations: 10.72 kB / 380.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5943, allocations: 33.66 kB / 380.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.595, allocations: 288.7 kB / 380.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.5951, allocations: 19.91 kB / 380.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.5951, allocations: 22.03 kB / 380.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.596, allocations: 266 kB / 381 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.5961, allocations: 3.938 kB / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.5961, allocations: 10.36 kB / 381.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.5961, allocations: 8.125 kB / 381.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.5971, allocations: 266.9 kB / 381.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.5994, allocations: 0.9037 MB / 382.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.6004, allocations: 237.9 kB / 382.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.6009, allocations: 106.2 kB / 382.6 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.6009, allocations: 9.844 kB / 382.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.6015, allocations: 176.5 kB / 382.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.6015, allocations: 0 / 382.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002508/0.604, allocations: 0.6187 MB / 383.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/0.6041, allocations: 110 kB / 383.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.6046, allocations: 265.5 kB / 383.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.6047, allocations: 27.02 kB / 383.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.6049, allocations: 188.2 kB / 383.9 MB, free: 8.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.6049, allocations: 54.25 kB / 384 MB, free: 8.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.6051, allocations: 46.52 kB / 384 MB, free: 8.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6052, allocations: 334 kB / 384.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.6057, allocations: 105.3 kB / 384.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.6061, allocations: 166.9 kB / 384.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.6069, allocations: 268.8 kB / 384.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.6069, allocations: 4.875 kB / 384.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00142/0.6084, allocations: 431.7 kB / 385.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.6084, allocations: 33.95 kB / 385.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6085, allocations: 2.531 kB / 385.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/0.6092, allocations: 110.7 kB / 385.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.6095, allocations: 48 kB / 385.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.6123, allocations: 1.893 MB / 387.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.6129, allocations: 50.62 kB / 387.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.6129, allocations: 8.734 kB / 387.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005388/0.6135, allocations: 190.7 kB / 387.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004392/0.6139, allocations: 146.2 kB / 387.8 MB, free: 5.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006945/0.6146, allocations: 247.4 kB / 388 MB, free: 5.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.6146, allocations: 1.5 kB / 388 MB, free: 5.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.001124/0.6158, allocations: 346.5 kB / 388.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.6158, allocations: 41.94 kB / 388.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6159, allocations: 1.938 kB / 388.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.6161, allocations: 42.03 kB / 388.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.6163, allocations: 49.86 kB / 388.5 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.6183, allocations: 1.714 MB / 390.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.6188, allocations: 45.02 kB / 390.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.6188, allocations: 6.188 kB / 390.3 MB, free: 3.547 MB / 318.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.0002294/0.619, allocations: 203.7 kB / 390.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.6191, allocations: 24.78 kB / 390.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.041e-05/0.6192, allocations: 27.19 kB / 390.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6192, allocations: 1.25 kB / 390.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6192, allocations: 1.219 kB / 390.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6192, allocations: 5.203 kB / 390.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.6199, allocations: 312.3 kB / 390.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6199, allocations: 1.062 kB / 390.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.6201, allocations: 33.11 kB / 390.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.6204, allocations: 63.84 kB / 390.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.6205, allocations: 5.922 kB / 390.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.6231, allocations: 1.721 MB / 392.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.6231, allocations: 0 / 392.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.6246, allocations: 444.7 kB / 393.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6247, allocations: 100.4 kB / 393.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.6247, allocations: 6.312 kB / 393.2 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.625, allocations: 31.7 kB / 393.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.6252, allocations: 19.94 kB / 393.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.6252, allocations: 7.531 kB / 393.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.6255, allocations: 197 kB / 393.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.6255, allocations: 1.094 kB / 393.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008047/0.6263, allocations: 135.9 kB / 393.6 MB, free: 1.094 MB / 318.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.000228/0.6265, allocations: 105.2 kB / 393.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.6283, allocations: 0.7182 MB / 394.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6283, allocations: 0 / 394.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.6289, allocations: 244.7 kB / 394.6 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.6293, allocations: 51.94 kB / 394.7 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.6308, allocations: 0.535 MB / 395.2 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.6316, allocations: 0.7606 MB / 396 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.6318, allocations: 29 kB / 396 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.6318, allocations: 19.69 kB / 396 MB, free: 15.31 MB / 334.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6319, allocations: 1.094 kB / 396 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Templates: time 0.0166/0.6485, allocations: 4.701 MB / 400.7 MB, free: 14.31 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)