Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001206/0.001207, 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.529/1.529, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001622/0.001622, allocations: 108.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.823e-05, allocations: 7.984 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07966/0.0797, allocations: 44.51 MB / 349.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3144/0.3942, allocations: 73.14 MB / 422.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.3945, allocations: 79.39 kB / 422.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.4045, allocations: 4.39 MB / 427.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4046, allocations: 0 / 427.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.4046, allocations: 3.844 kB / 427.1 MB, free: 9.754 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005263/0.4051, allocations: 0.5062 MB / 427.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4052, allocations: 11.28 kB / 427.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.4053, allocations: 31.16 kB / 427.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.4055, allocations: 265.3 kB / 427.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4056, allocations: 23.53 kB / 427.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.4056, allocations: 26.31 kB / 427.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.406, allocations: 254.5 kB / 428.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.406, allocations: 0 / 428.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.406, allocations: 13.38 kB / 428.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4061, allocations: 11.69 kB / 428.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.4063, allocations: 200.4 kB / 428.4 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.4077, allocations: 1.113 MB / 429.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.4081, allocations: 205.5 kB / 429.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.4084, allocations: 138.5 kB / 429.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.4085, allocations: 5.156 kB / 429.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.4085, allocations: 37.5 kB / 429.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/0.4085, allocations: 0 / 429.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008574/0.4094, allocations: 315.8 kB / 430.2 MB, free: 8.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.4094, allocations: 55.25 kB / 430.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.4096, allocations: 230.9 kB / 430.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4096, allocations: 29.67 kB / 430.5 MB, free: 7.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.4097, allocations: 198 kB / 430.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.4097, allocations: 72.7 kB / 430.8 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.4098, allocations: 3.438 kB / 430.8 MB, free: 7.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.4098, allocations: 336.8 kB / 431.1 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.4099, allocations: 55.22 kB / 431.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.41, allocations: 156.7 kB / 431.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.4102, allocations: 82.11 kB / 431.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4102, allocations: 0 / 431.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008579/0.411, allocations: 422.7 kB / 431.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4111, allocations: 3.844 kB / 431.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4111, allocations: 3.719 kB / 431.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007651/0.4118, allocations: 182.4 kB / 432 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.412, allocations: 50.11 kB / 432 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.4144, allocations: 3.021 MB / 435.1 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.4146, allocations: 30.75 kB / 435.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4146, allocations: 11.66 kB / 435.1 MB, free: 4.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.4147, allocations: 119.4 kB / 435.2 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.4147, allocations: 19.34 kB / 435.2 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.4148, allocations: 40.11 kB / 435.3 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4148, allocations: 7.906 kB / 435.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4148, allocations: 0 / 435.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4148, allocations: 3.984 kB / 435.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4159, allocations: 0.7161 MB / 436 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4159, allocations: 0 / 436 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.416, allocations: 23.2 kB / 436 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006489/0.4167, allocations: 179.6 kB / 436.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4167, allocations: 7.922 kB / 436.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.4189, allocations: 2.997 MB / 439.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4189, allocations: 0 / 439.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.4198, allocations: 484.1 kB / 439.7 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4199, allocations: 96.61 kB / 439.8 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.4199, allocations: 11.64 kB / 439.8 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.4201, allocations: 19.64 kB / 439.8 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.4201, allocations: 15.61 kB / 439.8 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4202, allocations: 7.562 kB / 439.8 MB, free: 16.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.4203, allocations: 177.7 kB / 440 MB, free: 16.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4203, allocations: 0 / 440 MB, free: 16.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004177/0.4208, allocations: 92.91 kB / 440.1 MB, free: 16.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.4209, allocations: 106.5 kB / 440.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005607/0.4215, allocations: 413.9 kB / 440.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4215, allocations: 0 / 440.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.4218, allocations: 307.5 kB / 440.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.4221, allocations: 29.42 kB / 440.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.4227, allocations: 369.9 kB / 441.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.423, allocations: 0.7684 MB / 442.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.065e-05/0.4231, allocations: 25.53 kB / 442.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.4231, allocations: 18.94 kB / 442.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4231, allocations: 0 / 442.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.006459/0.4296, allocations: 3.166 MB / 445.3 MB, free: 13.19 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)