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.0009223/0.0009224, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.164/1.164, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001573/0.001573, allocations: 109.9 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002575, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07312/0.07339, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/0.2886, allocations: 74.41 MB / 429.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.2889, allocations: 80.33 kB / 429.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01203/0.3009, allocations: 5.149 MB / 434.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3009, allocations: 0 / 434.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.301, allocations: 14.81 kB / 434.7 MB, free: 10.78 MB / 314.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.0007068/0.3017, allocations: 0.5707 MB / 435.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3017, allocations: 8.031 kB / 435.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3018, allocations: 28.75 kB / 435.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.302, allocations: 264 kB / 435.6 MB, free: 9.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.302, allocations: 14.69 kB / 435.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.3021, allocations: 27.25 kB / 435.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.3025, allocations: 228.6 kB / 435.9 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3025, allocations: 0 / 435.9 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3025, allocations: 9.75 kB / 435.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3025, allocations: 4 kB / 435.9 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.303, allocations: 230 kB / 436.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3042, allocations: 0.8958 MB / 437 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.3047, allocations: 215.7 kB / 437.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3047, allocations: 3.953 kB / 437.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.3051, allocations: 172.2 kB / 437.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.3051, allocations: 3.984 kB / 437.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001426/0.3065, allocations: 0.5441 MB / 437.9 MB, free: 7.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3065, allocations: 110.8 kB / 438 MB, free: 7.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3067, allocations: 233.3 kB / 438.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3067, allocations: 36.52 kB / 438.3 MB, free: 7.449 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.3068, allocations: 171.2 kB / 438.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.3068, allocations: 49.59 kB / 438.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-06/0.3068, allocations: 2.875 kB / 438.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.3069, allocations: 336.9 kB / 438.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.3071, allocations: 94 kB / 438.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3074, allocations: 167.9 kB / 439.1 MB, free: 6.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.3076, allocations: 131.2 kB / 439.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3076, allocations: 0 / 439.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008125/0.3084, allocations: 405.5 kB / 439.6 MB, free: 6.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3085, allocations: 38.03 kB / 439.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3085, allocations: 8 kB / 439.7 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.3089, allocations: 91.97 kB / 439.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3091, allocations: 55.89 kB / 439.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.3107, allocations: 1.773 MB / 441.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.311, allocations: 47.19 kB / 441.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.311, allocations: 11.19 kB / 441.6 MB, free: 4.215 MB / 314.7 MB 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 () * Number of clocked 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 8.966e-05/0.3111, allocations: 138.3 kB / 441.8 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3111, allocations: 23.72 kB / 441.8 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.3112, allocations: 29.45 kB / 441.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3112, allocations: 0 / 441.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.21e-07/0.3112, allocations: 0 / 441.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3112, allocations: 0 / 441.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3114, allocations: 297.5 kB / 442.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3114, allocations: 1.875 kB / 442.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3115, allocations: 23.98 kB / 442.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.3118, allocations: 100.7 kB / 442.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3119, allocations: 3.625 kB / 442.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.3134, allocations: 1.756 MB / 444 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3134, allocations: 0 / 444 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.3141, allocations: 341.4 kB / 444.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.3142, allocations: 100.8 kB / 444.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.3142, allocations: 11.58 kB / 444.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.3144, allocations: 35.34 kB / 444.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.3145, allocations: 19.03 kB / 444.5 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3145, allocations: 7.984 kB / 444.5 MB, free: 1.375 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.3146, allocations: 182 kB / 444.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3146, allocations: 4 kB / 444.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000316/0.3149, allocations: 70.84 kB / 444.7 MB, free: 1.16 MB / 314.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) * Number of clocked states: 0 () * 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 9.454e-05/0.315, allocations: 99.25 kB / 444.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.3157, allocations: 403.1 kB / 445.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3157, allocations: 1.719 kB / 445.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.316, allocations: 231.9 kB / 445.5 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3162, allocations: 37.42 kB / 445.5 MB, free: 460 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3178, allocations: 0.6825 MB / 446.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3181, allocations: 0.7521 MB / 446.9 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3182, allocations: 22.3 kB / 447 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.3182, allocations: 19.44 kB / 447 MB, free: 14.96 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3182, allocations: 0 / 447 MB, free: 14.96 MB / 330.7 MB Notification: Performance of Templates: time 0.005666/0.3239, allocations: 3.158 MB / 450.1 MB, free: 11.87 MB / 330.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)