Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001033/0.001033, allocations: 188.5 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.298/1.298, allocations: 194.3 MB / 203.1 MB, free: 9.316 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.001679/0.001679, allocations: 120 kB / 248.1 MB, free: 6.316 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.779e-05, allocations: 8 kB / 298.1 MB, free: 8.219 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08288, allocations: 44.49 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.3768, allocations: 73.67 MB / 416.3 MB, free: 22.1 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.3771, allocations: 73.77 kB / 416.3 MB, free: 22.06 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.39, allocations: 5.103 MB / 421.4 MB, free: 17.8 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.39, allocations: 0 / 421.4 MB, free: 17.8 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.39, allocations: 4 kB / 421.4 MB, free: 17.8 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006217/0.3907, allocations: 0.5387 MB / 422 MB, free: 17.23 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3907, allocations: 8.031 kB / 422 MB, free: 17.22 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.3908, allocations: 33.34 kB / 422 MB, free: 17.19 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.391, allocations: 264 kB / 422.3 MB, free: 16.91 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.391, allocations: 7.094 kB / 422.3 MB, free: 16.91 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.3911, allocations: 15.98 kB / 422.3 MB, free: 16.89 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002164/0.3913, allocations: 133.2 kB / 422.4 MB, free: 16.81 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.3915, allocations: 158.6 kB / 422.6 MB, free: 16.69 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3916, allocations: 0 / 422.6 MB, free: 16.69 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3916, allocations: 0 / 422.6 MB, free: 16.69 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3916, allocations: 8 kB / 422.6 MB, free: 16.68 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3928, allocations: 0.8432 MB / 423.4 MB, free: 15.91 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.393, allocations: 123.7 kB / 423.5 MB, free: 15.83 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.3931, allocations: 56.72 kB / 423.6 MB, free: 15.79 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3931, allocations: 0 / 423.6 MB, free: 15.79 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.3933, allocations: 129.9 kB / 423.7 MB, free: 15.66 MB / 315.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3933, allocations: 3.938 kB / 423.7 MB, free: 15.66 MB / 315.1 MB Notification: Performance of matching and sorting (n=13): time 0.000561/0.3939, allocations: 198.9 kB / 423.9 MB, free: 15.48 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3939, allocations: 113 kB / 424 MB, free: 15.36 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3941, allocations: 206.9 kB / 424.2 MB, free: 15.18 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.3941, allocations: 25.7 kB / 424.3 MB, free: 15.15 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.3942, allocations: 179.5 kB / 424.4 MB, free: 15 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.3942, allocations: 37.45 kB / 424.5 MB, free: 14.96 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.3943, allocations: 0 / 424.5 MB, free: 14.96 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.3943, allocations: 336.4 kB / 424.8 MB, free: 14.64 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.3944, allocations: 51.56 kB / 424.9 MB, free: 14.6 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.3945, allocations: 100.3 kB / 425 MB, free: 14.5 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.3946, allocations: 57.94 kB / 425 MB, free: 14.46 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3946, allocations: 0 / 425 MB, free: 14.46 MB / 315.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005877/0.3952, allocations: 265.9 kB / 425.3 MB, free: 14.24 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.3952, allocations: 36.56 kB / 425.3 MB, free: 14.2 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3952, allocations: 4 kB / 425.3 MB, free: 14.2 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.3957, allocations: 96.23 kB / 425.4 MB, free: 14.11 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3958, allocations: 43.91 kB / 425.4 MB, free: 14.06 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.3969, allocations: 1.421 MB / 426.9 MB, free: 12.62 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3972, allocations: 45.5 kB / 426.9 MB, free: 12.59 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3972, allocations: 4 kB / 426.9 MB, free: 12.58 MB / 315.1 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: 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 (18): * Single equations (assignments): 16 * 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.0001173/0.3974, allocations: 126 kB / 427 MB, free: 12.45 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3974, allocations: 19.72 kB / 427.1 MB, free: 12.43 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.3974, allocations: 25.33 kB / 427.1 MB, free: 12.42 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3975, allocations: 7.953 kB / 427.1 MB, free: 12.41 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3975, allocations: 3.828 kB / 427.1 MB, free: 12.41 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3975, allocations: 1.031 kB / 427.1 MB, free: 12.41 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3976, allocations: 244.6 kB / 427.3 MB, free: 12.17 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3976, allocations: 0 / 427.3 MB, free: 12.17 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.3978, allocations: 31.97 kB / 427.4 MB, free: 12.14 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.3981, allocations: 91.73 kB / 427.5 MB, free: 12.06 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3982, allocations: 10.31 kB / 427.5 MB, free: 12.05 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000964/0.3991, allocations: 1.409 MB / 428.9 MB, free: 10.62 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3991, allocations: 4.031 kB / 428.9 MB, free: 10.61 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.3996, allocations: 242.3 kB / 429.1 MB, free: 10.39 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.3997, allocations: 96.78 kB / 429.2 MB, free: 10.28 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3997, allocations: 6.812 kB / 429.2 MB, free: 10.28 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3999, allocations: 37.36 kB / 429.3 MB, free: 10.24 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.4, allocations: 23.66 kB / 429.3 MB, free: 10.23 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4, allocations: 0 / 429.3 MB, free: 10.23 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.8e-05/0.4001, allocations: 159 kB / 429.4 MB, free: 10.1 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4001, allocations: 0 / 429.4 MB, free: 10.1 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.4004, allocations: 71.83 kB / 429.5 MB, free: 10.03 MB / 315.1 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.0001105/0.4005, allocations: 107 kB / 429.6 MB, free: 9.918 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.4009, allocations: 288.1 kB / 429.9 MB, free: 9.66 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4009, allocations: 0 / 429.9 MB, free: 9.66 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.401, allocations: 180.9 kB / 430.1 MB, free: 9.5 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.4013, allocations: 32.47 kB / 430.1 MB, free: 9.477 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.4018, allocations: 248.3 kB / 430.3 MB, free: 9.234 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.402, allocations: 0.7482 MB / 431.1 MB, free: 8.461 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.054e-05/0.4021, allocations: 22.08 kB / 431.1 MB, free: 8.434 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.4021, allocations: 19.42 kB / 431.1 MB, free: 8.418 MB / 315.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4021, allocations: 0 / 431.1 MB, free: 8.418 MB / 315.1 MB Notification: Performance of Templates: time 0.004927/0.407, allocations: 2.832 MB / 434 MB, free: 5.66 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1)