Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001855/0.001855, allocations: 184 kB / 8.354 MB, free: 0.7305 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.325/1.325, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.0017/0.0017, allocations: 119.5 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.618e-05, allocations: 7.938 kB / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07445/0.07448, allocations: 44.49 MB / 342.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2885/0.363, allocations: 73.66 MB / 416.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3633, allocations: 84.89 kB / 416.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01301/0.3763, allocations: 5.103 MB / 421.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3763, allocations: 0 / 421.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3764, allocations: 7.906 kB / 421.4 MB, free: 10.08 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008196/0.3772, allocations: 0.5349 MB / 422 MB, free: 9.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3772, allocations: 7.688 kB / 422 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.3773, allocations: 31.03 kB / 422 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.3777, allocations: 259 kB / 422.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3777, allocations: 11.44 kB / 422.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.3777, allocations: 15.67 kB / 422.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002488/0.378, allocations: 126.8 kB / 422.4 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3782, allocations: 163.1 kB / 422.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3783, allocations: 0 / 422.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.3783, allocations: 0 / 422.6 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3783, allocations: 11.69 kB / 422.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3796, allocations: 0.8408 MB / 423.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3798, allocations: 124.1 kB / 423.5 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.3799, allocations: 51.52 kB / 423.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.38, allocations: 7.781 kB / 423.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.3802, allocations: 128.7 kB / 423.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3802, allocations: 0 / 423.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005737/0.3808, allocations: 212.1 kB / 423.9 MB, free: 8.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.3808, allocations: 110.3 kB / 424 MB, free: 8.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.381, allocations: 206.5 kB / 424.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.381, allocations: 25.7 kB / 424.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.3811, allocations: 184.3 kB / 424.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.3811, allocations: 39.02 kB / 424.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.3812, allocations: 0 / 424.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.3812, allocations: 337.2 kB / 424.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.3813, allocations: 49.22 kB / 424.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.3814, allocations: 120.2 kB / 425 MB, free: 7.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.74e-05/0.3815, allocations: 60.78 kB / 425 MB, free: 7.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3815, allocations: 32 / 425 MB, free: 7.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005632/0.3821, allocations: 276.5 kB / 425.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.3821, allocations: 34.7 kB / 425.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3821, allocations: 0 / 425.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.3826, allocations: 104.4 kB / 425.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.3828, allocations: 46.59 kB / 425.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3839, allocations: 1.521 MB / 427 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.3842, allocations: 43 kB / 427.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3843, allocations: 11.25 kB / 427.1 MB, free: 6.07 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.3844, allocations: 116.6 kB / 427.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.3844, allocations: 31.06 kB / 427.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.3845, allocations: 23.66 kB / 427.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3845, allocations: 7.781 kB / 427.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3845, allocations: 0 / 427.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3845, allocations: 3.984 kB / 427.2 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3847, allocations: 243.3 kB / 427.5 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3847, allocations: 4.125 kB / 427.5 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3848, allocations: 33.84 kB / 427.5 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003579/0.3852, allocations: 91.31 kB / 427.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3852, allocations: 7.766 kB / 427.6 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3863, allocations: 1.514 MB / 429.1 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3863, allocations: 4.062 kB / 429.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.3868, allocations: 238.6 kB / 429.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.3869, allocations: 99.84 kB / 429.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.3869, allocations: 3.984 kB / 429.5 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3872, allocations: 27.22 kB / 429.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.3872, allocations: 19.31 kB / 429.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3873, allocations: 11.09 kB / 429.5 MB, free: 4.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3874, allocations: 162.5 kB / 429.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3874, allocations: 0 / 429.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.3878, allocations: 69.61 kB / 429.8 MB, free: 3.973 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/0.3879, allocations: 98.16 kB / 429.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.3883, allocations: 312.4 kB / 430.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3883, allocations: 0 / 430.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3885, allocations: 180.9 kB / 430.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3888, allocations: 26.27 kB / 430.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3902, allocations: 440.7 kB / 430.8 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3906, allocations: 0.7538 MB / 431.5 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3907, allocations: 13.77 kB / 431.6 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.3908, allocations: 22.62 kB / 431.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3908, allocations: 0 / 431.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of Templates: time 0.005556/0.3964, allocations: 2.841 MB / 434.4 MB, free: 17.2 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)