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.001002/0.001002, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.0009909/0.0009912, allocations: 182.6 kB / 17.2 MB, free: 5.91 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.819/1.819, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.0007447/0.0007448, allocations: 14.81 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3795, allocations: 47.58 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00363/0.3832, allocations: 2.287 MB / 330 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3856, allocations: 0.7403 MB / 330.7 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.386, allocations: 3.562 kB / 330.7 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3861, allocations: 35.66 kB / 330.8 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.3865, allocations: 109.1 kB / 330.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.387, allocations: 70.84 kB / 331 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.3876, allocations: 251.8 kB / 331.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.3879, allocations: 76.77 kB / 331.3 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.3883, allocations: 124.8 kB / 331.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.3886, allocations: 143.6 kB / 331.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.3887, allocations: 16.22 kB / 331.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.3888, allocations: 21.53 kB / 331.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.3889, allocations: 46.8 kB / 331.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.389, allocations: 75.98 kB / 331.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.3894, allocations: 265.6 kB / 332 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3894, allocations: 0 / 332 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3894, allocations: 0 / 332 MB, free: 14.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3894, allocations: 0 / 332 MB, free: 14.2 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.001609/0.3911, allocations: 0.6333 MB / 332.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.3911, allocations: 12.62 kB / 332.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3912, allocations: 32.84 kB / 332.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.3917, allocations: 274.2 kB / 332.9 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.3918, allocations: 21.77 kB / 332.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.3919, allocations: 18.88 kB / 332.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007359/0.3926, allocations: 278.9 kB / 333.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3926, allocations: 0 / 333.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.3927, allocations: 6.469 kB / 333.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.3927, allocations: 5.219 kB / 333.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.3936, allocations: 312.4 kB / 333.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.3957, allocations: 0.9153 MB / 334.4 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3968, allocations: 391.8 kB / 334.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.3968, allocations: 2 kB / 334.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/0.3974, allocations: 202.3 kB / 335 MB, free: 11.9 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/0.3974, allocations: 1.094 kB / 335 MB, free: 11.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002077/0.3995, allocations: 0.6906 MB / 335.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.3996, allocations: 102.8 kB / 335.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.3999, allocations: 270.6 kB / 336.1 MB, free: 10.87 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.4, allocations: 29.8 kB / 336.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4002, allocations: 183.9 kB / 336.3 MB, free: 10.65 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.4002, allocations: 59.11 kB / 336.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.4003, allocations: 8 kB / 336.4 MB, free: 10.58 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4004, allocations: 338.8 kB / 336.7 MB, free: 10.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.4008, allocations: 120.1 kB / 336.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.4012, allocations: 188.9 kB / 337 MB, free: 9.914 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.4015, allocations: 137.9 kB / 337.1 MB, free: 9.773 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4016, allocations: 7.984 kB / 337.1 MB, free: 9.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001209/0.4028, allocations: 476.5 kB / 337.6 MB, free: 9.285 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003403/0.4031, allocations: 0.6454 MB / 338.2 MB, free: 8.586 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4031, allocations: 4 kB / 338.2 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.4034, allocations: 60.78 kB / 338.3 MB, free: 8.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.4037, allocations: 67.89 kB / 338.4 MB, free: 8.453 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.4056, allocations: 1.511 MB / 339.9 MB, free: 6.809 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.406, allocations: 59.84 kB / 339.9 MB, free: 6.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.406, allocations: 12 kB / 339.9 MB, free: 6.738 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.406, allocations: 4 kB / 340 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007289/0.4068, allocations: 327 kB / 340.3 MB, free: 6.406 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.4068, allocations: 0 / 340.3 MB, free: 6.406 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-05/0.4069, allocations: 25.28 kB / 340.3 MB, free: 6.379 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.4071, allocations: 75.88 kB / 340.4 MB, free: 6.305 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.4082, allocations: 1.384 MB / 341.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.4085, allocations: 47.84 kB / 341.8 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.4085, allocations: 12 kB / 341.8 MB, free: 4.723 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.4087, allocations: 221.2 kB / 342 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.4088, allocations: 27.67 kB / 342.1 MB, free: 4.469 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.4088, allocations: 30.17 kB / 342.1 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4088, allocations: 0 / 342.1 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.4089, allocations: 0 / 342.1 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4089, allocations: 0 / 342.1 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.4103, allocations: 0.7574 MB / 342.8 MB, free: 3.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4103, allocations: 0 / 342.8 MB, free: 3.625 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.4105, allocations: 51.89 kB / 342.9 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.4107, allocations: 56.86 kB / 343 MB, free: 3.516 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.4107, allocations: 3.984 kB / 343 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.4125, allocations: 1.511 MB / 344.5 MB, free: 1.867 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4125, allocations: 4.031 kB / 344.5 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.4139, allocations: 0.5864 MB / 345.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.414, allocations: 104.8 kB / 345.2 MB, free: 1.129 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.4141, allocations: 11.98 kB / 345.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.4144, allocations: 35.97 kB / 345.2 MB, free: 1.082 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4145, allocations: 27.97 kB / 345.2 MB, free: 1.055 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.4145, allocations: 4 kB / 345.2 MB, free: 1.051 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.4147, allocations: 198 kB / 345.4 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4147, allocations: 0 / 345.4 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006311/0.4154, allocations: 123.7 kB / 345.6 MB, free: 0.7383 MB / 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001992/0.4156, allocations: 103.2 kB / 345.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.4174, allocations: 0.7469 MB / 346.4 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4174, allocations: 4 kB / 346.4 MB, free: 15.83 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.4179, allocations: 258.8 kB / 346.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.4183, allocations: 41.16 kB / 346.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4197, allocations: 0.6598 MB / 347.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.4204, allocations: 0.7638 MB / 348.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.4206, allocations: 30.28 kB / 348.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.4207, allocations: 27.42 kB / 348.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4207, allocations: 0 / 348.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of Templates: time 0.008874/0.4296, allocations: 3.71 MB / 351.9 MB, free: 10.27 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: