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.001534/0.001543, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.00143/0.00143, allocations: 51.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004093/0.3496, allocations: 2.922 MB / 328.2 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3515, allocations: 0.7957 MB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.3517, allocations: 5.75 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.3519, allocations: 53.06 kB / 329.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.3521, allocations: 101.4 kB / 329.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.3524, allocations: 131.5 kB / 329.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.3528, allocations: 407.2 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.3531, allocations: 128.5 kB / 329.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.3533, allocations: 147.5 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.3536, allocations: 168.5 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.3536, allocations: 34.03 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.23e-05/0.3537, allocations: 33.16 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.3538, allocations: 80.14 kB / 330.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.354, allocations: 172.1 kB / 330.5 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.3543, allocations: 366.7 kB / 330.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3543, allocations: 0 / 330.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3543, allocations: 0 / 330.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3544, allocations: 4 kB / 330.8 MB, free: 13.65 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.00117/0.3555, allocations: 0.6458 MB / 331.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3556, allocations: 9.094 kB / 331.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.3557, allocations: 34.41 kB / 331.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.3561, allocations: 281.8 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.3561, allocations: 25.52 kB / 331.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.3562, allocations: 30.97 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/0.3569, allocations: 311.1 kB / 332.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3569, allocations: 0 / 332.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.357, allocations: 15.38 kB / 332.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.357, allocations: 6.875 kB / 332.2 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.3577, allocations: 290.2 kB / 332.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3596, allocations: 1.099 MB / 333.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.3604, allocations: 294.8 kB / 333.8 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.361, allocations: 172.8 kB / 334 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.361, allocations: 4 kB / 334 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3611, allocations: 38.52 kB / 334.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.3611, allocations: 0 / 334.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002537/0.3636, allocations: 0.8169 MB / 334.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3637, allocations: 59.36 kB / 334.9 MB, free: 10.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.364, allocations: 270.6 kB / 335.2 MB, free: 9.762 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.364, allocations: 29.7 kB / 335.2 MB, free: 9.727 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3642, allocations: 199.9 kB / 335.4 MB, free: 9.527 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/0.3643, allocations: 75 kB / 335.5 MB, free: 9.453 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.3644, allocations: 61.61 kB / 335.6 MB, free: 9.387 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3645, allocations: 330.8 kB / 335.9 MB, free: 9.055 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.3648, allocations: 97.98 kB / 336 MB, free: 8.957 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.3651, allocations: 186.9 kB / 336.2 MB, free: 8.734 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.3656, allocations: 282.9 kB / 336.4 MB, free: 8.418 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3656, allocations: 0 / 336.4 MB, free: 8.418 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001313/0.3669, allocations: 0.5102 MB / 336.9 MB, free: 7.895 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.367, allocations: 8 kB / 336.9 MB, free: 7.887 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.367, allocations: 4 kB / 337 MB, free: 7.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.3675, allocations: 117.7 kB / 337.1 MB, free: 7.762 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.3678, allocations: 63.84 kB / 337.1 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005049/0.3728, allocations: 3.646 MB / 340.8 MB, free: 3.77 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.3731, allocations: 51.73 kB / 340.8 MB, free: 3.719 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3731, allocations: 8 kB / 340.8 MB, free: 3.711 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002016/0.3734, allocations: 164.1 kB / 341 MB, free: 3.547 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001988/0.3736, allocations: 147.6 kB / 341.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002697/0.3738, allocations: 234.8 kB / 341.4 MB, free: 3.094 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.3739, allocations: 0 / 341.4 MB, free: 3.094 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0005273/0.3744, allocations: 318.4 kB / 341.7 MB, free: 2.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3744, allocations: 8 kB / 341.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3744, allocations: 4 kB / 341.7 MB, free: 2.758 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.3746, allocations: 58 kB / 341.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3747, allocations: 55.91 kB / 341.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.3771, allocations: 2.966 MB / 344.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.3773, allocations: 19.84 kB / 344.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3773, allocations: 12 kB / 344.8 MB, free: 15.36 MB / 286.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.0002052/0.3775, allocations: 200.1 kB / 345 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.3776, allocations: 31.72 kB / 345 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.3777, allocations: 30.17 kB / 345.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3777, allocations: 4 kB / 345.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3777, allocations: 0 / 345.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3777, allocations: 0 / 345.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3794, allocations: 0.7814 MB / 345.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3794, allocations: 0 / 345.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.3795, allocations: 27.98 kB / 345.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/0.3799, allocations: 129.7 kB / 346 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.3799, allocations: 4 kB / 346 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00454/0.3845, allocations: 3.626 MB / 349.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3845, allocations: 144 / 349.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.3858, allocations: 0.571 MB / 350.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.3859, allocations: 108.7 kB / 350.3 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3859, allocations: 4 kB / 350.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3862, allocations: 23.98 kB / 350.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.3863, allocations: 23.97 kB / 350.4 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3863, allocations: 8 kB / 350.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.3865, allocations: 197.9 kB / 350.6 MB, free: 9.215 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3865, allocations: 0 / 350.6 MB, free: 9.215 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007365/0.3872, allocations: 159.6 kB / 350.7 MB, free: 9.059 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.0001442/0.3874, allocations: 103.2 kB / 350.8 MB, free: 8.949 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.389, allocations: 0.8791 MB / 351.7 MB, free: 8.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.389, allocations: 0 / 351.7 MB, free: 8.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.3898, allocations: 433.3 kB / 352.1 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.3903, allocations: 51.83 kB / 352.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3916, allocations: 0.5988 MB / 352.8 MB, free: 6.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.392, allocations: 0.7684 MB / 353.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.3921, allocations: 26.97 kB / 353.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.3922, allocations: 27.44 kB / 353.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3922, allocations: 0 / 353.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of Templates: time 0.009042/0.4012, allocations: 4.634 MB / 358.2 MB, free: 1.414 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)