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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 107.4 kB / 17.06 MB, free: 6.098 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.00141/0.00141, allocations: 198.9 kB / 18 MB, free: 5.168 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.76/1.76, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.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.001543/0.001543, allocations: 55.92 kB / 327.9 MB, free: 3.242 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 46.62 MB / 374.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005219/0.1351, allocations: 2.815 MB / 377.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.137, allocations: 0.7524 MB / 378.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.1374, allocations: 7.938 kB / 378.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1377, allocations: 43.56 kB / 378.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.1381, allocations: 99.19 kB / 378.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1385, allocations: 107.7 kB / 378.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.1391, allocations: 386.3 kB / 378.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.1394, allocations: 104.9 kB / 378.8 MB, free: 192 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.1398, allocations: 155.3 kB / 379 MB, free: 36 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3308/0.4706, allocations: 159.9 kB / 379.1 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.4709, allocations: 32.59 kB / 379.2 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.471, allocations: 33.31 kB / 379.2 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.4712, allocations: 67.83 kB / 379.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.4715, allocations: 162.1 kB / 379.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.4724, allocations: 356 kB / 379.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.4725, allocations: 0 / 379.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4725, allocations: 4.812 kB / 379.8 MB, free: 9.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4725, allocations: 1.125 kB / 379.8 MB, free: 9.914 MB / 318.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.001804/0.4743, allocations: 0.6706 MB / 380.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.4744, allocations: 9.625 kB / 380.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.4745, allocations: 37.2 kB / 380.5 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.4751, allocations: 287.9 kB / 380.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.4751, allocations: 17.97 kB / 380.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.4752, allocations: 25.34 kB / 380.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.476, allocations: 265.8 kB / 381.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.476, allocations: 5.312 kB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.476, allocations: 15.5 kB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4761, allocations: 7.359 kB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.477, allocations: 264 kB / 381.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.4791, allocations: 0.8852 MB / 382.2 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.4803, allocations: 349.4 kB / 382.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.4809, allocations: 133.4 kB / 382.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.481, allocations: 3.438 kB / 382.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000732/0.4817, allocations: 186.9 kB / 382.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.504e-06/0.4817, allocations: 4 kB / 382.9 MB, free: 8.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002597/0.4843, allocations: 0.5818 MB / 383.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.4844, allocations: 107.6 kB / 383.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.485, allocations: 262 kB / 383.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.485, allocations: 31.84 kB / 383.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.4853, allocations: 184.7 kB / 384.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.116e-05/0.4854, allocations: 63.02 kB / 384.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.4855, allocations: 48.7 kB / 384.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4857, allocations: 343.2 kB / 384.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.4861, allocations: 108.8 kB / 384.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.4866, allocations: 168.4 kB / 384.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/0.4874, allocations: 271.3 kB / 385 MB, free: 7.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4874, allocations: 1.656 kB / 385 MB, free: 7.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001432/0.4888, allocations: 417.7 kB / 385.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.4889, allocations: 42.17 kB / 385.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4889, allocations: 1.094 kB / 385.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.4896, allocations: 88.7 kB / 385.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.49, allocations: 62.11 kB / 385.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.4926, allocations: 1.564 MB / 387.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.4931, allocations: 46.92 kB / 387.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.4932, allocations: 12.23 kB / 387.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005564/0.4938, allocations: 190.1 kB / 387.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000403/0.4942, allocations: 163.6 kB / 387.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007648/0.495, allocations: 260.1 kB / 387.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.495, allocations: 1.125 kB / 387.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.001028/0.496, allocations: 345.4 kB / 388.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.4961, allocations: 39.14 kB / 388.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4961, allocations: 2.281 kB / 388.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.4962, allocations: 27.77 kB / 388.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.4965, allocations: 59.88 kB / 388.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.4982, allocations: 1.546 MB / 389.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.4987, allocations: 44.52 kB / 389.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4988, allocations: 9.422 kB / 389.9 MB, free: 3.688 MB / 318.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.0002681/0.499, allocations: 205.9 kB / 390.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4991, allocations: 28.12 kB / 390.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4992, allocations: 31.72 kB / 390.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4993, allocations: 1.969 kB / 390.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.4993, allocations: 0.7031 kB / 390.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.4993, allocations: 1.469 kB / 390.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.5014, allocations: 0.7071 MB / 390.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5015, allocations: 0.7031 kB / 390.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.5017, allocations: 46.56 kB / 390.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.502, allocations: 52.02 kB / 391 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.502, allocations: 1.844 kB / 391 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.5042, allocations: 1.56 MB / 392.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5042, allocations: 0 / 392.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5058, allocations: 0.5031 MB / 393 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.506, allocations: 101.9 kB / 393.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.5061, allocations: 4.062 kB / 393.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.5064, allocations: 34.09 kB / 393.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.5065, allocations: 24.56 kB / 393.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.5066, allocations: 5.453 kB / 393.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000351/0.5069, allocations: 190.2 kB / 393.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5069, allocations: 0 / 393.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009492/0.5079, allocations: 141.9 kB / 393.5 MB, free: 1.027 MB / 318.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.0002631/0.5082, allocations: 102.9 kB / 393.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.5103, allocations: 0.7017 MB / 394.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5103, allocations: 1.062 kB / 394.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006105/0.5109, allocations: 241.9 kB / 394.6 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.5116, allocations: 54.89 kB / 394.6 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.5136, allocations: 0.5567 MB / 395.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.5143, allocations: 0.7593 MB / 395.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.5145, allocations: 31.3 kB / 396 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.5146, allocations: 25.5 kB / 396 MB, free: 15.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.435e-06/0.5146, allocations: 0 / 396 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Templates: time 0.0167/0.5313, allocations: 4.293 MB / 400.3 MB, free: 14.52 MB / 334.1 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)