Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001322/0.001322, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.379/1.379, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001567/0.001567, allocations: 115.2 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.743e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.08922, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.3832, allocations: 73.79 MB / 416.4 MB, free: 22.07 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.3835, allocations: 78.52 kB / 416.5 MB, free: 22.02 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.3962, allocations: 4.919 MB / 421.4 MB, free: 17.92 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3963, allocations: 0 / 421.4 MB, free: 17.92 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.3963, allocations: 4 kB / 421.4 MB, free: 17.91 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007343/0.3971, allocations: 0.5283 MB / 421.9 MB, free: 17.35 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3971, allocations: 8.031 kB / 421.9 MB, free: 17.34 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.3972, allocations: 29.44 kB / 421.9 MB, free: 17.32 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.3975, allocations: 248.9 kB / 422.2 MB, free: 17.06 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3975, allocations: 8 kB / 422.2 MB, free: 17.05 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3976, allocations: 12.56 kB / 422.2 MB, free: 17.04 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002183/0.3978, allocations: 123.2 kB / 422.3 MB, free: 16.97 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.398, allocations: 148.2 kB / 422.5 MB, free: 16.86 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3981, allocations: 7.969 kB / 422.5 MB, free: 16.85 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3981, allocations: 4 kB / 422.5 MB, free: 16.85 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3981, allocations: 4 kB / 422.5 MB, free: 16.84 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3993, allocations: 0.8064 MB / 423.3 MB, free: 16.11 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3996, allocations: 127.3 kB / 423.4 MB, free: 16.01 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.3997, allocations: 47.05 kB / 423.5 MB, free: 15.98 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3998, allocations: 4 kB / 423.5 MB, free: 15.98 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.4, allocations: 120.5 kB / 423.6 MB, free: 15.86 MB / 315.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.4, allocations: 3.938 kB / 423.6 MB, free: 15.86 MB / 315.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005538/0.4005, allocations: 181.2 kB / 423.8 MB, free: 15.7 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4006, allocations: 77.11 kB / 423.8 MB, free: 15.61 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.4008, allocations: 196.8 kB / 424 MB, free: 15.44 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4008, allocations: 25.7 kB / 424.1 MB, free: 15.41 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4009, allocations: 166.8 kB / 424.2 MB, free: 15.27 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.401, allocations: 42.66 kB / 424.3 MB, free: 15.23 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.401, allocations: 0 / 424.3 MB, free: 15.23 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.4011, allocations: 332.3 kB / 424.6 MB, free: 14.91 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.4012, allocations: 42.48 kB / 424.6 MB, free: 14.88 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.309e-05/0.4013, allocations: 99.38 kB / 424.7 MB, free: 14.79 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.4014, allocations: 53.8 kB / 424.8 MB, free: 14.75 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4014, allocations: 0.6562 kB / 424.8 MB, free: 14.75 MB / 315.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005259/0.4019, allocations: 245.2 kB / 425 MB, free: 14.54 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.4019, allocations: 32.64 kB / 425.1 MB, free: 14.5 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.402, allocations: 4 kB / 425.1 MB, free: 14.5 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.4023, allocations: 75.92 kB / 425.1 MB, free: 14.43 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.4026, allocations: 55.91 kB / 425.2 MB, free: 14.37 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009626/0.4035, allocations: 1.279 MB / 426.5 MB, free: 13.02 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.4038, allocations: 40.53 kB / 426.5 MB, free: 12.98 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.4038, allocations: 8.094 kB / 426.5 MB, free: 12.97 MB / 315.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 8.453e-05/0.4039, allocations: 112.8 kB / 426.6 MB, free: 12.86 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.404, allocations: 23.67 kB / 426.6 MB, free: 12.83 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.404, allocations: 23.89 kB / 426.7 MB, free: 12.82 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.404, allocations: 4 kB / 426.7 MB, free: 12.82 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.404, allocations: 1.312 kB / 426.7 MB, free: 12.82 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.404, allocations: 0 / 426.7 MB, free: 12.82 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.4042, allocations: 233.9 kB / 426.9 MB, free: 12.58 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4042, allocations: 0 / 426.9 MB, free: 12.58 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.4044, allocations: 46.97 kB / 426.9 MB, free: 12.54 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/0.4047, allocations: 83.98 kB / 427 MB, free: 12.46 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4048, allocations: 0 / 427 MB, free: 12.46 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008057/0.4056, allocations: 1.272 MB / 428.3 MB, free: 11.12 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4056, allocations: 0 / 428.3 MB, free: 11.12 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.4061, allocations: 273.6 kB / 428.6 MB, free: 10.89 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4063, allocations: 100.8 kB / 428.7 MB, free: 10.77 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4063, allocations: 4.875 kB / 428.7 MB, free: 10.77 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.4065, allocations: 27.97 kB / 428.7 MB, free: 10.74 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.4066, allocations: 19.34 kB / 428.7 MB, free: 10.72 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4066, allocations: 3.5 kB / 428.7 MB, free: 10.72 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.662e-05/0.4067, allocations: 155.8 kB / 428.9 MB, free: 10.59 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4067, allocations: 0 / 428.9 MB, free: 10.59 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.407, allocations: 55.84 kB / 428.9 MB, free: 10.54 MB / 315.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) * 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 (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.0001423/0.4072, allocations: 111.3 kB / 429 MB, free: 10.42 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.4075, allocations: 282 kB / 429.3 MB, free: 10.16 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4075, allocations: 0 / 429.3 MB, free: 10.16 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4077, allocations: 154 kB / 429.5 MB, free: 10.02 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.408, allocations: 31.22 kB / 429.5 MB, free: 10 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.4086, allocations: 293.1 kB / 429.8 MB, free: 9.719 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4088, allocations: 0.7438 MB / 430.5 MB, free: 8.949 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.4089, allocations: 22.08 kB / 430.5 MB, free: 8.93 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.4089, allocations: 19.38 kB / 430.6 MB, free: 8.91 MB / 315.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4089, allocations: 0 / 430.6 MB, free: 8.91 MB / 315.1 MB Notification: Performance of Templates: time 0.00511/0.4141, allocations: 2.48 MB / 433 MB, free: 6.496 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)