Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00156/0.00156, allocations: 181.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.438/1.438, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001684/0.001684, allocations: 124.6 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.528e-05, allocations: 3.984 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08274, allocations: 44.5 MB / 349.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/0.3856, allocations: 74.6 MB / 424.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3858, allocations: 75.56 kB / 424.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.399, allocations: 5.552 MB / 429.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3991, allocations: 3.938 kB / 429.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3991, allocations: 7.625 kB / 429.7 MB, free: 8.984 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006919/0.3998, allocations: 0.5617 MB / 430.2 MB, free: 8.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3998, allocations: 11.69 kB / 430.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.3999, allocations: 34.84 kB / 430.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.4002, allocations: 268.9 kB / 430.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4002, allocations: 19 kB / 430.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.4002, allocations: 21.16 kB / 430.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.4006, allocations: 204.5 kB / 430.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4006, allocations: 0 / 430.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.4006, allocations: 15.38 kB / 430.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4006, allocations: 7.719 kB / 430.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.4009, allocations: 158 kB / 431 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.4021, allocations: 0.926 MB / 431.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.4024, allocations: 233.6 kB / 432.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4025, allocations: 90.08 kB / 432.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4026, allocations: 3.906 kB / 432.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.4028, allocations: 140.1 kB / 432.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.4028, allocations: 0 / 432.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005336/0.4033, allocations: 225 kB / 432.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.4034, allocations: 110.7 kB / 432.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.4036, allocations: 233.7 kB / 432.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4036, allocations: 25.7 kB / 432.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.4037, allocations: 186.9 kB / 433.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.4037, allocations: 56.52 kB / 433.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.4037, allocations: 3.062 kB / 433.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.4038, allocations: 335.2 kB / 433.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.4039, allocations: 61.16 kB / 433.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.404, allocations: 126.3 kB / 433.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4041, allocations: 92.12 kB / 433.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4041, allocations: 0 / 433.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005594/0.4047, allocations: 325.3 kB / 434.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4047, allocations: 37.58 kB / 434.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4047, allocations: 4 kB / 434.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003513/0.4051, allocations: 77.92 kB / 434.2 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4053, allocations: 69.45 kB / 434.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008703/0.4062, allocations: 1.325 MB / 435.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4065, allocations: 62.02 kB / 435.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.4065, allocations: 15.59 kB / 435.7 MB, free: 4.82 MB / 298.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.4066, allocations: 123.5 kB / 435.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.4066, allocations: 27.39 kB / 435.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.4067, allocations: 23.75 kB / 435.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4067, allocations: 7.828 kB / 435.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.4067, allocations: 0 / 435.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4067, allocations: 3.984 kB / 435.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.4074, allocations: 0.6328 MB / 436.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4075, allocations: 0 / 436.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.4077, allocations: 53.23 kB / 436.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/0.408, allocations: 74.36 kB / 436.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.408, allocations: 7.797 kB / 436.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007865/0.4088, allocations: 1.334 MB / 438 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4088, allocations: 0 / 438 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.4094, allocations: 417.5 kB / 438.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.4094, allocations: 103.4 kB / 438.5 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.4095, allocations: 7.781 kB / 438.5 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.4097, allocations: 31.09 kB / 438.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.4098, allocations: 26.25 kB / 438.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4098, allocations: 3.875 kB / 438.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.4099, allocations: 185.3 kB / 438.7 MB, free: 2.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4099, allocations: 0 / 438.7 MB, free: 2.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.4102, allocations: 75.22 kB / 438.8 MB, free: 2.461 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.4103, allocations: 113.4 kB / 438.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.4107, allocations: 320.9 kB / 439.2 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4107, allocations: 0 / 439.2 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4109, allocations: 182.9 kB / 439.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.4111, allocations: 53.72 kB / 439.4 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.4117, allocations: 357.6 kB / 439.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4119, allocations: 0.7655 MB / 440.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.412, allocations: 29.52 kB / 440.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.412, allocations: 22.69 kB / 440.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.412, allocations: 0 / 440.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of Templates: time 0.005122/0.4172, allocations: 3.223 MB / 443.8 MB, free: 15.45 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)