Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 91.84 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.01268/0.01268, allocations: 170 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 1.997/1.997, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005422/0.0005422, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4151, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004418/0.4196, allocations: 2.502 MB / 329.5 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.4217, allocations: 0.7433 MB / 330.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.422, allocations: 8.594 kB / 330.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.4222, allocations: 27.86 kB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.4224, allocations: 84.53 kB / 330.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.4228, allocations: 84.28 kB / 330.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.4233, allocations: 368.8 kB / 330.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.4235, allocations: 86.33 kB / 330.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.4238, allocations: 129 kB / 331.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.424, allocations: 143.6 kB / 331.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.4241, allocations: 17.41 kB / 331.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.4241, allocations: 16.41 kB / 331.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.4242, allocations: 58.27 kB / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.4245, allocations: 174.2 kB / 331.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.425, allocations: 330.2 kB / 331.8 MB, free: 13.78 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.425, allocations: 0.9062 kB / 331.8 MB, free: 13.78 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.55e-06/0.425, allocations: 3.938 kB / 331.8 MB, free: 13.78 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.425, allocations: 0 / 331.8 MB, free: 13.78 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.001639/0.4267, allocations: 0.6315 MB / 332.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/0.4268, allocations: 9.156 kB / 332.4 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4269, allocations: 32.88 kB / 332.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.4274, allocations: 283.7 kB / 332.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.4274, allocations: 17.38 kB / 332.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.4275, allocations: 24.25 kB / 332.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009369/0.4285, allocations: 285.6 kB / 333.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4285, allocations: 0 / 333.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.4286, allocations: 10.91 kB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4286, allocations: 5.969 kB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.4296, allocations: 306.3 kB / 333.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.4316, allocations: 0.9149 MB / 334.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.4326, allocations: 389.4 kB / 334.7 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.433, allocations: 152.6 kB / 334.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.4331, allocations: 0 / 334.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005429/0.4336, allocations: 205.8 kB / 335 MB, free: 11.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/0.4336, allocations: 0 / 335 MB, free: 11.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002186/0.4358, allocations: 0.6969 MB / 335.7 MB, free: 10.44 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.4359, allocations: 110.9 kB / 335.8 MB, free: 10.31 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.4362, allocations: 270.5 kB / 336.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.4363, allocations: 29.7 kB / 336.1 MB, free: 10 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4364, allocations: 179.9 kB / 336.3 MB, free: 9.82 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.4365, allocations: 59.11 kB / 336.3 MB, free: 9.762 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.4365, allocations: 29.7 kB / 336.4 MB, free: 9.727 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4367, allocations: 338.8 kB / 336.7 MB, free: 9.387 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.4371, allocations: 116.2 kB / 336.8 MB, free: 9.273 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.4375, allocations: 192.8 kB / 337 MB, free: 9.059 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.4382, allocations: 295.6 kB / 337.3 MB, free: 8.742 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4382, allocations: 0 / 337.3 MB, free: 8.742 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001185/0.4394, allocations: 491.3 kB / 337.8 MB, free: 8.246 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.4396, allocations: 159.9 kB / 337.9 MB, free: 8.059 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.4396, allocations: 0 / 337.9 MB, free: 8.059 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.4401, allocations: 120.8 kB / 338.1 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.4404, allocations: 67.89 kB / 338.1 MB, free: 7.871 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.4423, allocations: 1.515 MB / 339.6 MB, free: 6.223 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.4427, allocations: 51.88 kB / 339.7 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.4428, allocations: 8 kB / 339.7 MB, free: 6.164 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.4428, allocations: 4 kB / 339.7 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000733/0.4435, allocations: 330.1 kB / 340 MB, free: 5.828 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4436, allocations: 3.984 kB / 340 MB, free: 5.824 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.859e-05/0.4436, allocations: 29.03 kB / 340 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.4439, allocations: 67.89 kB / 340.1 MB, free: 5.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.445, allocations: 1.385 MB / 341.5 MB, free: 4.203 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.4453, allocations: 43.73 kB / 341.5 MB, free: 4.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.4453, allocations: 16.08 kB / 341.6 MB, free: 4.145 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.4456, allocations: 220.9 kB / 341.8 MB, free: 3.918 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.4457, allocations: 23.72 kB / 341.8 MB, free: 3.895 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.4457, allocations: 34.17 kB / 341.8 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.4457, allocations: 0 / 341.8 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4458, allocations: 0 / 341.8 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4458, allocations: 4 kB / 341.8 MB, free: 3.863 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.4472, allocations: 0.7497 MB / 342.6 MB, free: 3.051 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4472, allocations: 0 / 342.6 MB, free: 3.051 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.4475, allocations: 51.89 kB / 342.6 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.4477, allocations: 60.8 kB / 342.7 MB, free: 2.938 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4477, allocations: 8 kB / 342.7 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.4493, allocations: 1.491 MB / 344.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4493, allocations: 3.938 kB / 344.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4506, allocations: 0.5808 MB / 344.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.4507, allocations: 96.86 kB / 344.9 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.4508, allocations: 7.938 kB / 344.9 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.4511, allocations: 43.95 kB / 344.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4512, allocations: 31.91 kB / 345 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4512, allocations: 4 kB / 345 MB, free: 0.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.4514, allocations: 198 kB / 345.2 MB, free: 316 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4514, allocations: 0 / 345.2 MB, free: 316 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006503/0.4521, allocations: 127.7 kB / 345.3 MB, free: 188 kB / 270.1 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) * Number of clocked states: 0 () * 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 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/0.4524, allocations: 99.25 kB / 345.4 MB, free: 80 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.454, allocations: 0.7423 MB / 346.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.454, allocations: 0 / 346.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.4546, allocations: 250.9 kB / 346.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.4551, allocations: 45.16 kB / 346.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4565, allocations: 0.6946 MB / 347.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.4569, allocations: 0.7599 MB / 347.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.4571, allocations: 34.27 kB / 347.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.4572, allocations: 27.44 kB / 347.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4572, allocations: 0 / 347.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of Templates: time 0.009178/0.4664, allocations: 3.867 MB / 351.8 MB, free: 9.543 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)