Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01063/0.01063, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 12 kB / 279.5 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3488, allocations: 47.58 MB / 327 MB, free: 1.664 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003593/0.3525, allocations: 2.6 MB / 329.6 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3545, allocations: 0.7624 MB / 330.4 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.3547, allocations: 10 kB / 330.4 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.3549, allocations: 42.33 kB / 330.5 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.3552, allocations: 92.27 kB / 330.5 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.3556, allocations: 107.5 kB / 330.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006402/0.3562, allocations: 391.9 kB / 331 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.3566, allocations: 102.8 kB / 331.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.3569, allocations: 132.3 kB / 331.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3572, allocations: 152.3 kB / 331.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.3573, allocations: 18.12 kB / 331.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.3573, allocations: 18.69 kB / 331.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.737e-05/0.3574, allocations: 60.09 kB / 331.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.3576, allocations: 175.4 kB / 331.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.3582, allocations: 354.2 kB / 332 MB, free: 13.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3582, allocations: 1.062 kB / 332 MB, free: 13.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.3582, allocations: 0 / 332 MB, free: 13.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.3582, allocations: 0 / 332 MB, free: 13.84 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001505/0.3597, allocations: 0.5868 MB / 332.6 MB, free: 13.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.874e-05/0.3598, allocations: 13.41 kB / 332.6 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.36, allocations: 38.81 kB / 332.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.3606, allocations: 282.1 kB / 332.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.3606, allocations: 24.88 kB / 333 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/0.3607, allocations: 31.92 kB / 333 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.3617, allocations: 318.8 kB / 333.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3617, allocations: 0 / 333.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.3618, allocations: 11.97 kB / 333.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.3618, allocations: 6.562 kB / 333.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000904/0.3627, allocations: 312 kB / 333.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.3653, allocations: 1.11 MB / 334.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3663, allocations: 314.8 kB / 335 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.3668, allocations: 172.8 kB / 335.2 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.3668, allocations: 4 kB / 335.2 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.3669, allocations: 42.52 kB / 335.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 3.105e-06/0.3669, allocations: 0 / 335.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.00276/0.3697, allocations: 0.9151 MB / 336.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3697, allocations: 59.36 kB / 336.2 MB, free: 10.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.37, allocations: 274.5 kB / 336.5 MB, free: 9.805 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3701, allocations: 33.64 kB / 336.5 MB, free: 9.766 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3702, allocations: 199.9 kB / 336.7 MB, free: 9.566 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.3703, allocations: 71 kB / 336.8 MB, free: 9.496 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.3704, allocations: 33.7 kB / 336.8 MB, free: 9.457 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3705, allocations: 338.8 kB / 337.2 MB, free: 9.117 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.3707, allocations: 91.95 kB / 337.2 MB, free: 9.027 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.3711, allocations: 188.3 kB / 337.4 MB, free: 8.805 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.3716, allocations: 294.9 kB / 337.7 MB, free: 8.477 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3717, allocations: 0 / 337.7 MB, free: 8.477 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001478/0.3732, allocations: 0.5571 MB / 338.3 MB, free: 7.906 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.3734, allocations: 175.2 kB / 338.4 MB, free: 7.691 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3734, allocations: 4 kB / 338.5 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.374, allocations: 133.6 kB / 338.6 MB, free: 7.551 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.3742, allocations: 59.91 kB / 338.6 MB, free: 7.492 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004835/0.3791, allocations: 3.443 MB / 342.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.3795, allocations: 51.73 kB / 342.1 MB, free: 3.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.3795, allocations: 12 kB / 342.1 MB, free: 3.719 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3796, allocations: 4 kB / 342.1 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005064/0.3801, allocations: 257.4 kB / 342.4 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3801, allocations: 8.062 kB / 342.4 MB, free: 3.449 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.3803, allocations: 53.62 kB / 342.5 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3805, allocations: 55.91 kB / 342.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.3826, allocations: 2.696 MB / 345.2 MB, free: 380 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3828, allocations: 19.84 kB / 345.2 MB, free: 360 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3828, allocations: 12 kB / 345.2 MB, free: 348 kB / 270.1 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.3831, allocations: 228.9 kB / 345.5 MB, free: 108 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.3832, allocations: 27.62 kB / 345.5 MB, free: 80 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.3833, allocations: 38.11 kB / 345.5 MB, free: 40 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3833, allocations: 144 / 345.5 MB, free: 40 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3833, allocations: 4.062 kB / 345.5 MB, free: 36 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3833, allocations: 3.984 kB / 345.5 MB, free: 32 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.385, allocations: 0.8277 MB / 346.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.385, allocations: 0 / 346.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.3851, allocations: 27.98 kB / 346.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.3856, allocations: 141.6 kB / 346.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.3856, allocations: 8 kB / 346.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/0.3899, allocations: 3.412 MB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3899, allocations: 4 kB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3913, allocations: 0.61 MB / 350.6 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3914, allocations: 108.6 kB / 350.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3914, allocations: 7.938 kB / 350.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3916, allocations: 36.03 kB / 350.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.3917, allocations: 19.91 kB / 350.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3917, allocations: 8 kB / 350.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.392, allocations: 186 kB / 350.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.392, allocations: 4 kB / 350.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.3928, allocations: 151.7 kB / 351.1 MB, free: 10.12 MB / 286.1 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002039/0.393, allocations: 111.2 kB / 351.2 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.3947, allocations: 0.8939 MB / 352.1 MB, free: 9.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3947, allocations: 0 / 352.1 MB, free: 9.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.3955, allocations: 441.2 kB / 352.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.396, allocations: 56.33 kB / 352.6 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3974, allocations: 0.7395 MB / 353.3 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.3978, allocations: 0.7761 MB / 354.1 MB, free: 6.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.398, allocations: 30.97 kB / 354.1 MB, free: 6.949 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.3981, allocations: 23.44 kB / 354.1 MB, free: 6.926 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3981, allocations: 0 / 354.1 MB, free: 6.926 MB / 286.1 MB Notification: Performance of Templates: time 0.009287/0.4074, allocations: 4.201 MB / 358.3 MB, free: 2.723 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)