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.0009659/0.000966, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009285/0.009286, allocations: 171.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 5.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.000572/0.0005727, allocations: 14.66 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4061, allocations: 47.59 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004235/0.4104, allocations: 2.504 MB / 329.5 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.4123, allocations: 0.7388 MB / 330.3 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.4125, allocations: 8.156 kB / 330.3 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.4127, allocations: 32.59 kB / 330.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.413, allocations: 85.16 kB / 330.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.4133, allocations: 91.19 kB / 330.5 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.4139, allocations: 364 kB / 330.9 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.4142, allocations: 80.97 kB / 330.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.4145, allocations: 130.6 kB / 331.1 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.4147, allocations: 139.1 kB / 331.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.4148, allocations: 17.16 kB / 331.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.359e-05/0.4149, allocations: 19.97 kB / 331.2 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.4149, allocations: 63.16 kB / 331.3 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.4152, allocations: 166.3 kB / 331.5 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.4156, allocations: 333.7 kB / 331.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4156, allocations: 3.938 kB / 331.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4156, allocations: 1.125 kB / 331.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.4156, allocations: 0 / 331.8 MB, free: 13.79 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.001505/0.4171, allocations: 0.6301 MB / 332.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4172, allocations: 9.156 kB / 332.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.4173, allocations: 33.62 kB / 332.5 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.4177, allocations: 283 kB / 332.7 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.4177, allocations: 18.53 kB / 332.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.4178, allocations: 19.34 kB / 332.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.4186, allocations: 286 kB / 333 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4186, allocations: 0 / 333 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.4187, allocations: 9.875 kB / 333.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4187, allocations: 5.688 kB / 333.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009121/0.4196, allocations: 309.3 kB / 333.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.4214, allocations: 0.9366 MB / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.4224, allocations: 282 kB / 334.6 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.4227, allocations: 132.7 kB / 334.7 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.4228, allocations: 7.984 kB / 334.7 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.4233, allocations: 185.9 kB / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 3.136e-06/0.4234, allocations: 0 / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002472/0.4258, allocations: 0.737 MB / 335.6 MB, free: 10.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.426, allocations: 118.8 kB / 335.8 MB, free: 10.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.4264, allocations: 262.6 kB / 336 MB, free: 10.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.4264, allocations: 33.7 kB / 336 MB, free: 10.08 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.4266, allocations: 179.8 kB / 336.2 MB, free: 9.902 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.4267, allocations: 51.3 kB / 336.3 MB, free: 9.852 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.4267, allocations: 29.7 kB / 336.3 MB, free: 9.816 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4269, allocations: 326.8 kB / 336.6 MB, free: 9.488 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.4272, allocations: 124.1 kB / 336.7 MB, free: 9.367 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.4276, allocations: 176.8 kB / 336.9 MB, free: 9.168 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.4283, allocations: 295.5 kB / 337.2 MB, free: 8.852 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4283, allocations: 0 / 337.2 MB, free: 8.852 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001165/0.4295, allocations: 487.6 kB / 337.7 MB, free: 8.359 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.4296, allocations: 163.8 kB / 337.8 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4297, allocations: 0 / 337.8 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.4302, allocations: 136.7 kB / 338 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.4305, allocations: 55.91 kB / 338 MB, free: 7.977 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.4327, allocations: 1.764 MB / 339.8 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.4331, allocations: 59.81 kB / 339.8 MB, free: 6.012 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4331, allocations: 11.98 kB / 339.9 MB, free: 6 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.4331, allocations: 4 kB / 339.9 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007719/0.4339, allocations: 338 kB / 340.2 MB, free: 5.656 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4339, allocations: 4.188 kB / 340.2 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.991e-05/0.434, allocations: 44.78 kB / 340.2 MB, free: 5.605 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4343, allocations: 51.89 kB / 340.3 MB, free: 5.555 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.4357, allocations: 1.538 MB / 341.8 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.436, allocations: 47.91 kB / 341.9 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.436, allocations: 8 kB / 341.9 MB, free: 3.828 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.0002694/0.4363, allocations: 225 kB / 342.1 MB, free: 3.598 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.4363, allocations: 19.72 kB / 342.1 MB, free: 3.578 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.4364, allocations: 30.17 kB / 342.1 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4364, allocations: 0 / 342.1 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4364, allocations: 4 kB / 342.2 MB, free: 3.543 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4364, allocations: 0 / 342.2 MB, free: 3.543 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.4368, allocations: 313.3 kB / 342.5 MB, free: 3.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4368, allocations: 0 / 342.5 MB, free: 3.188 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.437, allocations: 35.97 kB / 342.5 MB, free: 3.152 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.4372, allocations: 80.78 kB / 342.6 MB, free: 3.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4372, allocations: 4 kB / 342.6 MB, free: 3.066 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.4391, allocations: 1.644 MB / 344.2 MB, free: 1.293 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4391, allocations: 3.938 kB / 344.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.4404, allocations: 0.4978 MB / 344.7 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.4405, allocations: 104.8 kB / 344.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.4405, allocations: 8.062 kB / 344.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4408, allocations: 39.95 kB / 344.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.4409, allocations: 19.97 kB / 344.9 MB, free: 0.582 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4409, allocations: 4 kB / 344.9 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.4411, allocations: 198 kB / 345.1 MB, free: 396 kB / 270.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4411, allocations: 0 / 345.1 MB, free: 396 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.00061/0.4417, allocations: 135.7 kB / 345.2 MB, free: 260 kB / 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 (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.0001678/0.4419, allocations: 103.2 kB / 345.3 MB, free: 144 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.4436, allocations: 0.7548 MB / 346.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4436, allocations: 0 / 346.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.4441, allocations: 258.6 kB / 346.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.4445, allocations: 44.47 kB / 346.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.4458, allocations: 0.6818 MB / 347.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.4463, allocations: 0.7561 MB / 347.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.4464, allocations: 34.27 kB / 347.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.4465, allocations: 15.44 kB / 347.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4465, allocations: 0 / 347.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of Templates: time 0.009189/0.4557, allocations: 4.12 MB / 352 MB, free: 9.367 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)