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.001885/0.001885, allocations: 182 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.563/1.563, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.00166/0.00166, allocations: 108.8 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.626e-05, allocations: 4 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08506, allocations: 44.5 MB / 349.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/0.377, allocations: 74.33 MB / 423.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3772, allocations: 83.61 kB / 423.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01376/0.391, allocations: 5.151 MB / 429 MB, free: 9.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.391, allocations: 1.75 kB / 429 MB, free: 9.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3911, allocations: 11.44 kB / 429 MB, free: 9.242 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.0007673/0.3918, allocations: 0.5335 MB / 429.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3919, allocations: 7.688 kB / 429.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.392, allocations: 30.97 kB / 429.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.3923, allocations: 261.8 kB / 429.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3923, allocations: 22.28 kB / 429.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.3924, allocations: 21.22 kB / 429.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.3927, allocations: 191.9 kB / 430.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3927, allocations: 0 / 430.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.3928, allocations: 3.5 kB / 430.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.3928, allocations: 3.906 kB / 430.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.3931, allocations: 152 kB / 430.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3943, allocations: 0.8875 MB / 431.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3946, allocations: 128.9 kB / 431.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.3947, allocations: 57.89 kB / 431.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3947, allocations: 3.812 kB / 431.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.3949, allocations: 137.8 kB / 431.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3949, allocations: 0 / 431.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005758/0.3955, allocations: 210.6 kB / 431.7 MB, free: 7.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.3955, allocations: 110.6 kB / 431.8 MB, free: 7.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3957, allocations: 221.3 kB / 432 MB, free: 7.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3958, allocations: 32.86 kB / 432 MB, free: 7.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.3958, allocations: 166.9 kB / 432.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3959, allocations: 41.73 kB / 432.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.3959, allocations: 3.812 kB / 432.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.3959, allocations: 337.6 kB / 432.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.396, allocations: 55.39 kB / 432.6 MB, free: 6.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3962, allocations: 119 kB / 432.7 MB, free: 6.773 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3963, allocations: 76.56 kB / 432.8 MB, free: 6.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3963, allocations: 7.781 kB / 432.8 MB, free: 6.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005884/0.3969, allocations: 315.6 kB / 433.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.3969, allocations: 33.5 kB / 433.1 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3969, allocations: 3.844 kB / 433.1 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004549/0.3974, allocations: 94.66 kB / 433.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.3976, allocations: 49.78 kB / 433.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.399, allocations: 1.59 MB / 434.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.3993, allocations: 50.09 kB / 434.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3993, allocations: 11.56 kB / 434.9 MB, free: 5.078 MB / 298.7 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 (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 8.335e-05/0.3994, allocations: 116.3 kB / 435 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.3994, allocations: 22.81 kB / 435.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.3995, allocations: 27.92 kB / 435.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3995, allocations: 4 kB / 435.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3995, allocations: 0 / 435.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3995, allocations: 0 / 435.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3997, allocations: 293.7 kB / 435.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3997, allocations: 0 / 435.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.3999, allocations: 26.94 kB / 435.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/0.4002, allocations: 93.52 kB / 435.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4003, allocations: 10.86 kB / 435.5 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009938/0.4013, allocations: 1.478 MB / 437 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4013, allocations: 0 / 437 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.4018, allocations: 255.6 kB / 437.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.4019, allocations: 96.69 kB / 437.3 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.4019, allocations: 7.391 kB / 437.3 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.4021, allocations: 35.17 kB / 437.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.4022, allocations: 23.33 kB / 437.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.4022, allocations: 7.219 kB / 437.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.4024, allocations: 178.7 kB / 437.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4024, allocations: 0 / 437.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.4027, allocations: 69 kB / 437.7 MB, free: 2.965 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.0001262/0.4028, allocations: 102.4 kB / 437.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.4032, allocations: 324.3 kB / 438.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4032, allocations: 0 / 438.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.4034, allocations: 173.3 kB / 438.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.4036, allocations: 42.3 kB / 438.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.4041, allocations: 253.9 kB / 438.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4043, allocations: 0.7466 MB / 439.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.708e-05/0.4044, allocations: 25.52 kB / 439.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.4045, allocations: 15.06 kB / 439.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 4 kB / 439.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of Templates: time 0.005564/0.4101, allocations: 3.159 MB / 442.5 MB, free: 72 kB / 298.7 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)