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.001107/0.001107, allocations: 182.6 kB / 13.64 MB, free: 1.676 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.467/1.467, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001606/0.001606, allocations: 114.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.138e-05, allocations: 7.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08116/0.08121, allocations: 44.5 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/0.3895, allocations: 74.32 MB / 423.8 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.3897, allocations: 77.02 kB / 423.9 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01246/0.4022, allocations: 5.157 MB / 429 MB, free: 9.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4023, allocations: 0 / 429 MB, free: 9.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.4023, allocations: 3.875 kB / 429 MB, free: 9.25 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.0006537/0.4029, allocations: 0.5331 MB / 429.5 MB, free: 8.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.403, allocations: 7.719 kB / 429.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.403, allocations: 31.22 kB / 429.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.4033, allocations: 262.5 kB / 429.8 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4033, allocations: 27.25 kB / 429.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.4033, allocations: 15.47 kB / 429.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.4036, allocations: 188.9 kB / 430.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4037, allocations: 0 / 430.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.4037, allocations: 7.469 kB / 430.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4037, allocations: 3.875 kB / 430.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.4039, allocations: 144.4 kB / 430.2 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4051, allocations: 0.8946 MB / 431.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.4054, allocations: 130.5 kB / 431.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.4055, allocations: 60.84 kB / 431.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4055, allocations: 0 / 431.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.4057, allocations: 134 kB / 431.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.4057, allocations: 0 / 431.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005568/0.4063, allocations: 223.7 kB / 431.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.4063, allocations: 102.8 kB / 431.7 MB, free: 7.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.4065, allocations: 233.1 kB / 432 MB, free: 7.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4065, allocations: 33.14 kB / 432 MB, free: 7.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.4066, allocations: 166.6 kB / 432.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.4066, allocations: 42.08 kB / 432.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.4067, allocations: 3.438 kB / 432.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.4067, allocations: 341.2 kB / 432.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.4068, allocations: 52.27 kB / 432.6 MB, free: 6.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4069, allocations: 133.1 kB / 432.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.407, allocations: 91.81 kB / 432.8 MB, free: 6.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.407, allocations: 0 / 432.8 MB, free: 6.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005748/0.4076, allocations: 326.4 kB / 433.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4077, allocations: 45.3 kB / 433.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4077, allocations: 0 / 433.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.4081, allocations: 97.06 kB / 433.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.4083, allocations: 44.94 kB / 433.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.4096, allocations: 1.59 MB / 434.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.4099, allocations: 52 kB / 435 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.4099, allocations: 11.25 kB / 435 MB, free: 5.062 MB / 298.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 () * 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 7.261e-05/0.41, allocations: 116.6 kB / 435.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.41, allocations: 26.03 kB / 435.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.41, allocations: 21.8 kB / 435.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.41, allocations: 3.875 kB / 435.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4101, allocations: 0 / 435.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4101, allocations: 3.984 kB / 435.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.4102, allocations: 288 kB / 435.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4103, allocations: 3.906 kB / 435.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.4104, allocations: 31.28 kB / 435.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003444/0.4108, allocations: 100.7 kB / 435.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4108, allocations: 0 / 435.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.4119, allocations: 1.575 MB / 437.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4119, allocations: 0 / 437.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.4124, allocations: 252 kB / 437.4 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.4124, allocations: 107.2 kB / 437.5 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.4125, allocations: 7.266 kB / 437.5 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.4127, allocations: 31.06 kB / 437.5 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.4128, allocations: 22.53 kB / 437.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4128, allocations: 3.844 kB / 437.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.4129, allocations: 181.3 kB / 437.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4129, allocations: 0 / 437.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.4133, allocations: 77.16 kB / 437.8 MB, free: 2.863 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.0001189/0.4134, allocations: 106.6 kB / 437.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.4138, allocations: 315.3 kB / 438.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4138, allocations: 0.5 kB / 438.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.414, allocations: 191.7 kB / 438.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.4142, allocations: 35.36 kB / 438.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.4156, allocations: 452.5 kB / 438.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.4158, allocations: 0.7502 MB / 439.6 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.4159, allocations: 25.55 kB / 439.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.4159, allocations: 18.97 kB / 439.7 MB, free: 1.477 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4159, allocations: 0 / 439.7 MB, free: 1.477 MB / 298.7 MB Notification: Performance of Templates: time 0.005391/0.4213, allocations: 3.16 MB / 442.8 MB, free: 15.92 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)