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.001822/0.001822, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.705/1.705, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.001369/0.001369, allocations: 59.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3856, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005009/0.3907, allocations: 2.827 MB / 328.1 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3928, allocations: 0.7424 MB / 328.9 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.3931, allocations: 4.469 kB / 328.9 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3933, allocations: 47.06 kB / 328.9 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.3936, allocations: 101.3 kB / 329 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.394, allocations: 100.3 kB / 329.1 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.3945, allocations: 397.8 kB / 329.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.3948, allocations: 90.38 kB / 329.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.3951, allocations: 151.3 kB / 329.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.3954, allocations: 160 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.3954, allocations: 36.56 kB / 330 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.3955, allocations: 31.31 kB / 330 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3956, allocations: 74.56 kB / 330.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.3958, allocations: 158.4 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.3964, allocations: 348.5 kB / 330.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3964, allocations: 0.9688 kB / 330.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3964, allocations: 0 / 330.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.3965, allocations: 0 / 330.6 MB, free: 13.86 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.00163/0.3981, allocations: 0.6591 MB / 331.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.3982, allocations: 9.031 kB / 331.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3983, allocations: 32.53 kB / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.3987, allocations: 291.8 kB / 331.5 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3987, allocations: 18.09 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.3988, allocations: 19.75 kB / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.3995, allocations: 267.7 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3995, allocations: 0 / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3996, allocations: 10.19 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3996, allocations: 6.312 kB / 331.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.4004, allocations: 269.8 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.4022, allocations: 0.9193 MB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/0.403, allocations: 241.4 kB / 333.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.4034, allocations: 115.5 kB / 333.4 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4034, allocations: 0 / 333.4 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005771/0.404, allocations: 173.8 kB / 333.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.404, allocations: 4 kB / 333.6 MB, free: 11.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002133/0.4061, allocations: 0.6197 MB / 334.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.4062, allocations: 110.8 kB / 334.3 MB, free: 10.67 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.4066, allocations: 270.5 kB / 334.6 MB, free: 10.4 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4066, allocations: 33.7 kB / 334.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4068, allocations: 179.8 kB / 334.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.4068, allocations: 51.3 kB / 334.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4069, allocations: 49.61 kB / 334.9 MB, free: 10.08 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4071, allocations: 330.8 kB / 335.2 MB, free: 9.746 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.4075, allocations: 105 kB / 335.3 MB, free: 9.641 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.4079, allocations: 168 kB / 335.4 MB, free: 9.449 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.4085, allocations: 255.6 kB / 335.7 MB, free: 9.172 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4086, allocations: 0 / 335.7 MB, free: 9.172 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001143/0.4097, allocations: 427.6 kB / 336.1 MB, free: 8.738 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.4098, allocations: 41.69 kB / 336.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4098, allocations: 3.984 kB / 336.2 MB, free: 8.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.4103, allocations: 108.8 kB / 336.3 MB, free: 8.578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.4106, allocations: 51.89 kB / 336.3 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.4129, allocations: 1.888 MB / 338.2 MB, free: 6.492 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.4133, allocations: 51.81 kB / 338.3 MB, free: 6.441 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.4134, allocations: 8 kB / 338.3 MB, free: 6.434 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003626/0.4137, allocations: 184.3 kB / 338.4 MB, free: 6.25 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003068/0.414, allocations: 160.3 kB / 338.6 MB, free: 6.066 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005307/0.4146, allocations: 247.5 kB / 338.8 MB, free: 5.797 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.4146, allocations: 0 / 338.8 MB, free: 5.797 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007816/0.4154, allocations: 351.5 kB / 339.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.4154, allocations: 33.69 kB / 339.2 MB, free: 5.398 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4155, allocations: 4 kB / 339.2 MB, free: 5.395 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.4156, allocations: 36.84 kB / 339.3 MB, free: 5.355 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4158, allocations: 56.08 kB / 339.3 MB, free: 5.301 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.4172, allocations: 1.717 MB / 341 MB, free: 3.449 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.4176, allocations: 47.83 kB / 341.1 MB, free: 3.402 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.4176, allocations: 8 kB / 341.1 MB, free: 3.395 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.0001994/0.4178, allocations: 200.2 kB / 341.3 MB, free: 3.191 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.4179, allocations: 27.66 kB / 341.3 MB, free: 3.164 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.418, allocations: 30.17 kB / 341.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.418, allocations: 0 / 341.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.418, allocations: 0 / 341.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.418, allocations: 0 / 341.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.4184, allocations: 321.2 kB / 341.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4184, allocations: 3.984 kB / 341.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.4186, allocations: 35.97 kB / 341.7 MB, free: 2.727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.4189, allocations: 64.75 kB / 341.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.4189, allocations: 0 / 341.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.4208, allocations: 1.719 MB / 343.5 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4208, allocations: 0 / 343.5 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4221, allocations: 445.3 kB / 343.9 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.4222, allocations: 100.8 kB / 344 MB, free: 236 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.4222, allocations: 8 kB / 344 MB, free: 228 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4225, allocations: 27.97 kB / 344 MB, free: 200 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4226, allocations: 19.97 kB / 344.1 MB, free: 180 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4226, allocations: 4 kB / 344.1 MB, free: 176 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.4228, allocations: 202 kB / 344.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4228, allocations: 0 / 344.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006409/0.4235, allocations: 131.7 kB / 344.4 MB, free: 15.85 MB / 286.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.0002016/0.4237, allocations: 111.2 kB / 344.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.4253, allocations: 0.7107 MB / 345.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4253, allocations: 0.6875 kB / 345.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.4258, allocations: 242.5 kB / 345.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.4262, allocations: 51.78 kB / 345.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.4276, allocations: 0.5381 MB / 346 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.4281, allocations: 0.7561 MB / 346.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.4282, allocations: 30.28 kB / 346.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.4283, allocations: 19.44 kB / 346.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of SimCode: time 2.575e-06/0.4283, allocations: 0 / 346.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of Templates: time 0.01067/0.439, allocations: 4.505 MB / 351.3 MB, free: 8.762 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)