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.000932/0.0009323, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008873/0.0008873, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0005766/0.0005766, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3851, allocations: 47.6 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003166/0.3883, allocations: 2.398 MB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3896, allocations: 0.723 MB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3898, allocations: 3.469 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.3899, allocations: 36.03 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3901, allocations: 77.05 kB / 329.7 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.3904, allocations: 79.17 kB / 329.8 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.3909, allocations: 344.5 kB / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.3911, allocations: 76.97 kB / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.3914, allocations: 125 kB / 330.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3916, allocations: 139.8 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.3917, allocations: 16.62 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.3918, allocations: 16.97 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.3918, allocations: 54.56 kB / 330.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.3919, allocations: 80.48 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.3922, allocations: 257.8 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3922, allocations: 1.219 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3922, allocations: 0 / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3922, allocations: 0 / 330.9 MB, free: 14.04 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.001273/0.3935, allocations: 0.6412 MB / 331.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3936, allocations: 12.47 kB / 331.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.3937, allocations: 36.53 kB / 331.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.394, allocations: 275.1 kB / 331.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.3941, allocations: 17.05 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.3941, allocations: 22.78 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.3948, allocations: 279.6 kB / 332.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3948, allocations: 0 / 332.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.3949, allocations: 10.28 kB / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3949, allocations: 5.438 kB / 332.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.3957, allocations: 307.8 kB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.3974, allocations: 0.9338 MB / 333.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/0.3982, allocations: 283.2 kB / 333.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.3985, allocations: 120.2 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3986, allocations: 1.25 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.3991, allocations: 191.9 kB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.3991, allocations: 1.188 kB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.001995/0.4011, allocations: 0.7412 MB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.4012, allocations: 110.8 kB / 334.8 MB, free: 10.87 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.4015, allocations: 262.6 kB / 335.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.4015, allocations: 37.64 kB / 335.1 MB, free: 10.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4017, allocations: 179.8 kB / 335.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.4017, allocations: 59.19 kB / 335.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.4018, allocations: 11.94 kB / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4019, allocations: 330.8 kB / 335.7 MB, free: 9.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.4022, allocations: 112.2 kB / 335.8 MB, free: 9.871 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.4025, allocations: 172.8 kB / 336 MB, free: 9.676 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.4029, allocations: 150.4 kB / 336.1 MB, free: 9.523 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4029, allocations: 3.938 kB / 336.1 MB, free: 9.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00103/0.4039, allocations: 482.1 kB / 336.6 MB, free: 9.035 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.4041, allocations: 167.8 kB / 336.8 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4041, allocations: 0 / 336.8 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.4045, allocations: 72.81 kB / 336.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.4047, allocations: 59.89 kB / 336.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.4068, allocations: 1.741 MB / 338.6 MB, free: 6.824 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.4071, allocations: 63.72 kB / 338.7 MB, free: 6.762 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.4071, allocations: 4 kB / 338.7 MB, free: 6.758 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.4072, allocations: 4 kB / 338.7 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006919/0.4079, allocations: 338.6 kB / 339 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4079, allocations: 0 / 339 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-05/0.408, allocations: 40.83 kB / 339.1 MB, free: 6.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.4082, allocations: 55.97 kB / 339.1 MB, free: 6.316 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.4093, allocations: 1.538 MB / 340.7 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.4096, allocations: 44.03 kB / 340.7 MB, free: 4.602 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.4096, allocations: 12 kB / 340.7 MB, free: 4.59 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.4098, allocations: 225.6 kB / 340.9 MB, free: 4.359 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.4098, allocations: 19.72 kB / 341 MB, free: 4.34 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.4099, allocations: 34.12 kB / 341 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4099, allocations: 0 / 341 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4099, allocations: 0 / 341 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4099, allocations: 4 kB / 341 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.4102, allocations: 305.4 kB / 341.3 MB, free: 3.953 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4102, allocations: 3.984 kB / 341.3 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.4104, allocations: 39.97 kB / 341.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.4106, allocations: 64.81 kB / 341.4 MB, free: 3.844 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4107, allocations: 12 kB / 341.4 MB, free: 3.832 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.4124, allocations: 1.644 MB / 343.1 MB, free: 2.059 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4124, allocations: 4 kB / 343.1 MB, free: 2.055 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.4135, allocations: 0.4973 MB / 343.6 MB, free: 1.535 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.4136, allocations: 96.86 kB / 343.7 MB, free: 1.422 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.4137, allocations: 7.984 kB / 343.7 MB, free: 1.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.4139, allocations: 40.03 kB / 343.7 MB, free: 1.375 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.414, allocations: 19.97 kB / 343.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.414, allocations: 7.984 kB / 343.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.4143, allocations: 201.8 kB / 343.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4143, allocations: 4 kB / 343.9 MB, free: 1.148 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006323/0.4149, allocations: 139.7 kB / 344.1 MB, free: 1.012 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.4151, allocations: 95.25 kB / 344.2 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.4166, allocations: 0.7542 MB / 344.9 MB, free: 104 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4166, allocations: 0.6875 kB / 344.9 MB, free: 104 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.4171, allocations: 258.6 kB / 345.2 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.4175, allocations: 40.55 kB / 345.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4187, allocations: 0.643 MB / 345.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4191, allocations: 0.7561 MB / 346.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.4192, allocations: 22.3 kB / 346.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.4193, allocations: 19.44 kB / 346.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4193, allocations: 0 / 346.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of Templates: time 0.008398/0.4277, allocations: 3.999 MB / 350.7 MB, free: 10.3 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)