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.0009042/0.0009043, allocations: 180 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.088/1.088, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001596/0.001596, allocations: 112.6 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.08138, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/0.3053, allocations: 73.23 MB / 428.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.3055, allocations: 85.77 kB / 428.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009315/0.3148, allocations: 4.384 MB / 432.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3149, allocations: 0 / 432.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.3149, allocations: 4 kB / 432.8 MB, free: 12.62 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005595/0.3154, allocations: 0.5361 MB / 433.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3155, allocations: 10.56 kB / 433.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.3156, allocations: 39.7 kB / 433.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3158, allocations: 262.1 kB / 433.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3158, allocations: 22.72 kB / 433.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.3159, allocations: 22.94 kB / 433.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3162, allocations: 267.9 kB / 433.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3162, allocations: 0 / 433.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.3163, allocations: 15.12 kB / 433.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3163, allocations: 4.75 kB / 433.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.3165, allocations: 200.7 kB / 434.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3179, allocations: 1.118 MB / 435.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.3183, allocations: 208.7 kB / 435.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3183, allocations: 7.953 kB / 435.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3183, allocations: 37.88 kB / 435.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.3183, allocations: 0 / 435.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001674/0.32, allocations: 0.6721 MB / 436.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.32, allocations: 59.36 kB / 436.2 MB, free: 9.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3202, allocations: 231 kB / 436.5 MB, free: 9.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3202, allocations: 29.33 kB / 436.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.3203, allocations: 197 kB / 436.7 MB, free: 9.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3204, allocations: 68.62 kB / 436.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.3204, allocations: 10.81 kB / 436.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.3204, allocations: 333.2 kB / 437.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3205, allocations: 63.05 kB / 437.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3206, allocations: 146.8 kB / 437.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3208, allocations: 75.44 kB / 437.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3208, allocations: 7.938 kB / 437.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000789/0.3216, allocations: 418.6 kB / 437.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3216, allocations: 8 kB / 437.8 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3216, allocations: 4 kB / 437.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006908/0.3223, allocations: 168 kB / 438 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3225, allocations: 55.91 kB / 438 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.3256, allocations: 3.276 MB / 441.3 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3258, allocations: 34.44 kB / 441.3 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3258, allocations: 13.38 kB / 441.3 MB, free: 4.477 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.901e-05/0.3259, allocations: 136.9 kB / 441.5 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.326, allocations: 28.02 kB / 441.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.326, allocations: 33.98 kB / 441.5 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.326, allocations: 3.984 kB / 441.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3261, allocations: 0 / 441.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3261, allocations: 10.03 kB / 441.5 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3263, allocations: 311.6 kB / 441.8 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3263, allocations: 0 / 441.8 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3264, allocations: 35.23 kB / 441.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.327, allocations: 168.6 kB / 442 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.327, allocations: 0 / 442 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.3298, allocations: 3.163 MB / 445.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3298, allocations: 0 / 445.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.3306, allocations: 487.5 kB / 445.7 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.3307, allocations: 96.8 kB / 445.8 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.3307, allocations: 11.11 kB / 445.8 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3309, allocations: 8.047 kB / 445.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.331, allocations: 19.23 kB / 445.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.331, allocations: 11.5 kB / 445.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.3312, allocations: 179 kB / 446 MB, free: 15.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3312, allocations: 0 / 446 MB, free: 15.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.3316, allocations: 91.28 kB / 446.1 MB, free: 15.74 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.3317, allocations: 110.3 kB / 446.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.3323, allocations: 419.9 kB / 446.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3323, allocations: 0 / 446.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.3326, allocations: 307.9 kB / 446.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.3328, allocations: 34.36 kB / 446.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000917/0.3338, allocations: 0.6566 MB / 447.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.3341, allocations: 0.7679 MB / 448.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.941e-05/0.3342, allocations: 22.3 kB / 448.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3343, allocations: 19.44 kB / 448.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3343, allocations: 4.75 kB / 448.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Templates: time 0.005995/0.3403, allocations: 3.114 MB / 451.5 MB, free: 10.41 MB / 330.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)