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.001267/0.001267, allocations: 99.62 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.001554/0.001554, allocations: 177.3 kB / 15.95 MB, free: 216 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.95/1.95, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005901/0.0005902, allocations: 19.98 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3994, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003641/0.4031, allocations: 2.288 MB / 328.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.4054, allocations: 0.7235 MB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.4059, allocations: 3.625 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.406, allocations: 35.3 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.4066, allocations: 121.4 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.4072, allocations: 66.81 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.4079, allocations: 255.1 kB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.4082, allocations: 76.62 kB / 330 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.4085, allocations: 124.9 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.4088, allocations: 143.8 kB / 330.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.4088, allocations: 16.31 kB / 330.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.4089, allocations: 16.03 kB / 330.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.409, allocations: 55.28 kB / 330.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.4091, allocations: 72.36 kB / 330.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.4094, allocations: 264.7 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4094, allocations: 0 / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4094, allocations: 1.062 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.4095, allocations: 0 / 330.7 MB, free: 14.19 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.001485/0.4109, allocations: 0.6363 MB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.411, allocations: 13 kB / 331.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.4111, allocations: 32.53 kB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.4115, allocations: 270.9 kB / 331.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.4116, allocations: 17.38 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.4117, allocations: 27.2 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.4124, allocations: 277.1 kB / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4124, allocations: 0 / 332 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.4125, allocations: 10.55 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.4125, allocations: 9.812 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.4134, allocations: 304.5 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.4153, allocations: 0.9441 MB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.4162, allocations: 283.5 kB / 333.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.4162, allocations: 1.469 kB / 333.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.4168, allocations: 187.8 kB / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.4168, allocations: 4 kB / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002342/0.4191, allocations: 0.7402 MB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.4193, allocations: 110.8 kB / 334.5 MB, free: 11.19 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.4196, allocations: 258.6 kB / 334.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.4197, allocations: 33.7 kB / 334.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.4199, allocations: 179.8 kB / 335 MB, free: 10.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/0.42, allocations: 51.2 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.42, allocations: 8 kB / 335 MB, free: 10.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4202, allocations: 334.8 kB / 335.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.4205, allocations: 108.2 kB / 335.5 MB, free: 10.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.4209, allocations: 188.8 kB / 335.7 MB, free: 10 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.4213, allocations: 142.4 kB / 335.8 MB, free: 9.855 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4213, allocations: 0 / 335.8 MB, free: 9.855 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001257/0.4226, allocations: 482.1 kB / 336.3 MB, free: 9.371 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000401/0.423, allocations: 0.6451 MB / 336.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.423, allocations: 4 kB / 336.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/0.4234, allocations: 72.81 kB / 337 MB, free: 8.594 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.4237, allocations: 55.95 kB / 337 MB, free: 8.539 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.4261, allocations: 1.768 MB / 338.8 MB, free: 6.629 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.4266, allocations: 71.73 kB / 338.9 MB, free: 6.559 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.4266, allocations: 8 kB / 338.9 MB, free: 6.551 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.4266, allocations: 4 kB / 338.9 MB, free: 6.547 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008122/0.4274, allocations: 334.6 kB / 339.2 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4275, allocations: 0 / 339.2 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.4276, allocations: 40.83 kB / 339.3 MB, free: 6.168 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.4278, allocations: 55.91 kB / 339.3 MB, free: 6.113 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.4294, allocations: 1.545 MB / 340.9 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.4297, allocations: 51.81 kB / 340.9 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.4298, allocations: 8 kB / 340.9 MB, free: 4.375 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.0002277/0.43, allocations: 217 kB / 341.1 MB, free: 4.152 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.43, allocations: 24.09 kB / 341.2 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.4301, allocations: 34.12 kB / 341.2 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4301, allocations: 0 / 341.2 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4301, allocations: 0 / 341.2 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4301, allocations: 8 kB / 341.2 MB, free: 4.086 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.4305, allocations: 313.4 kB / 341.5 MB, free: 3.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4305, allocations: 4 kB / 341.5 MB, free: 3.727 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.4307, allocations: 31.97 kB / 341.5 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.4309, allocations: 72.81 kB / 341.6 MB, free: 3.621 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.431, allocations: 4 kB / 341.6 MB, free: 3.617 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.4329, allocations: 1.671 MB / 343.3 MB, free: 1.816 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4329, allocations: 0 / 343.3 MB, free: 1.816 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4342, allocations: 0.5018 MB / 343.8 MB, free: 1.293 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4344, allocations: 105.2 kB / 343.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4344, allocations: 4 kB / 343.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.4347, allocations: 39.97 kB / 343.9 MB, free: 1.129 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4348, allocations: 28.03 kB / 344 MB, free: 1.102 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4348, allocations: 7.984 kB / 344 MB, free: 1.094 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.435, allocations: 190 kB / 344.2 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.435, allocations: 0 / 344.2 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006497/0.4357, allocations: 131.7 kB / 344.3 MB, free: 0.7812 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.0001652/0.4359, allocations: 107.2 kB / 344.4 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.4374, allocations: 0.7546 MB / 345.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4375, allocations: 0 / 345.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.438, allocations: 262.8 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.0003221/0.4383, allocations: 44.52 kB / 345.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.4397, allocations: 0.6357 MB / 346.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.4401, allocations: 0.7638 MB / 346.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.4402, allocations: 26.28 kB / 346.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.4403, allocations: 19.44 kB / 346.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4403, allocations: 4 kB / 346.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of Templates: time 0.009457/0.4498, allocations: 3.987 MB / 350.9 MB, free: 10.06 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: