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.001796/0.001796, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001669/0.001669, allocations: 177.3 kB / 15.94 MB, free: 228 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.938/1.938, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0006528/0.0006531, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3786, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003858/0.3826, allocations: 2.275 MB / 328.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3846, allocations: 0.7396 MB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.3849, allocations: 3.906 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.046e-05/0.385, allocations: 36.38 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.3853, allocations: 108.1 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.3857, allocations: 75.58 kB / 329.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.3861, allocations: 254.9 kB / 329.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.3864, allocations: 76.19 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.3867, allocations: 128.8 kB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.3869, allocations: 140.2 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.387, allocations: 16.72 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.3871, allocations: 16.41 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.3871, allocations: 54.23 kB / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3873, allocations: 80.67 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.3876, allocations: 256.4 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3876, allocations: 1.219 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3876, allocations: 0 / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3877, allocations: 0 / 330.7 MB, free: 14.18 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.001553/0.3892, allocations: 0.6326 MB / 331.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.3893, allocations: 12.78 kB / 331.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.3894, allocations: 32.34 kB / 331.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.3898, allocations: 274.6 kB / 331.6 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3898, allocations: 18.25 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.3899, allocations: 18.44 kB / 331.7 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.3906, allocations: 278 kB / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3906, allocations: 0 / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.3907, allocations: 10.69 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3907, allocations: 5.656 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.3916, allocations: 310.9 kB / 332.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3935, allocations: 0.9414 MB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.3944, allocations: 279.1 kB / 333.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3944, allocations: 2.062 kB / 333.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.395, allocations: 191.5 kB / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.395, allocations: 0 / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002345/0.3973, allocations: 0.7383 MB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3975, allocations: 106.8 kB / 334.5 MB, free: 11.19 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.3978, allocations: 270.6 kB / 334.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.3978, allocations: 29.64 kB / 334.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.398, allocations: 183.8 kB / 335 MB, free: 10.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.398, allocations: 55.25 kB / 335 MB, free: 10.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.3981, allocations: 0 / 335 MB, free: 10.64 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3982, allocations: 338.8 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.3986, allocations: 116.2 kB / 335.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.3989, allocations: 172.8 kB / 335.7 MB, free: 9.996 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.3993, allocations: 146.4 kB / 335.8 MB, free: 9.848 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3993, allocations: 4 kB / 335.8 MB, free: 9.844 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001155/0.4005, allocations: 482.1 kB / 336.3 MB, free: 9.359 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.4009, allocations: 0.6452 MB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4009, allocations: 0 / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.4013, allocations: 76.8 kB / 337 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.4015, allocations: 51.91 kB / 337 MB, free: 8.531 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.4038, allocations: 1.776 MB / 338.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.4042, allocations: 55.66 kB / 338.9 MB, free: 6.559 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.4042, allocations: 15.98 kB / 338.9 MB, free: 6.543 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4042, allocations: 8.062 kB / 338.9 MB, free: 6.535 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000769/0.405, allocations: 330.6 kB / 339.2 MB, free: 6.203 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.405, allocations: 4 kB / 339.2 MB, free: 6.199 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.4051, allocations: 36.84 kB / 339.3 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.4053, allocations: 55.92 kB / 339.3 MB, free: 6.105 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.4067, allocations: 1.546 MB / 340.9 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.4071, allocations: 47.8 kB / 340.9 MB, free: 4.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.4071, allocations: 11.98 kB / 340.9 MB, free: 4.367 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.0002463/0.4074, allocations: 225.1 kB / 341.1 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.4074, allocations: 23.72 kB / 341.2 MB, free: 4.113 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.4075, allocations: 30.12 kB / 341.2 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4075, allocations: 4 kB / 341.2 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4075, allocations: 0 / 341.2 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4075, allocations: 0 / 341.2 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.4079, allocations: 305.4 kB / 341.5 MB, free: 3.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4079, allocations: 0 / 341.5 MB, free: 3.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.4081, allocations: 43.97 kB / 341.5 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.4083, allocations: 68.8 kB / 341.6 MB, free: 3.617 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.4083, allocations: 4 kB / 341.6 MB, free: 3.613 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.4103, allocations: 1.683 MB / 343.3 MB, free: 1.801 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4103, allocations: 0 / 343.3 MB, free: 1.801 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.4115, allocations: 0.5017 MB / 343.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.4116, allocations: 96.86 kB / 343.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.4117, allocations: 4 kB / 343.9 MB, free: 1.16 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4119, allocations: 44.02 kB / 343.9 MB, free: 1.117 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.412, allocations: 23.97 kB / 344 MB, free: 1.094 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.412, allocations: 4 kB / 344 MB, free: 1.09 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.4122, allocations: 190 kB / 344.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4122, allocations: 3.938 kB / 344.2 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000595/0.4128, allocations: 139.7 kB / 344.3 MB, free: 0.7656 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.0001582/0.413, allocations: 103.2 kB / 344.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.4145, allocations: 0.7503 MB / 345.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4145, allocations: 0.6875 kB / 345.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.415, allocations: 258.5 kB / 345.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.4154, allocations: 48.53 kB / 345.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.4167, allocations: 0.6431 MB / 346.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.4171, allocations: 0.7677 MB / 346.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.4173, allocations: 30.27 kB / 346.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.4173, allocations: 19.44 kB / 346.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4174, allocations: 0 / 346.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of Templates: time 0.008514/0.4259, allocations: 3.983 MB / 350.9 MB, free: 10.04 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: