Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.002076/0.002076, 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.002844/0.002844, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.872/1.872, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001392/0.001392, allocations: 60.39 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3191, allocations: 46.63 MB / 325.3 MB, free: 2.012 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005583/0.3247, allocations: 2.934 MB / 328.3 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3266, allocations: 0.7795 MB / 329 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.3269, allocations: 6.312 kB / 329 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3272, allocations: 60.86 kB / 329.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.3274, allocations: 106 kB / 329.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.3278, allocations: 118.8 kB / 329.3 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000533/0.3284, allocations: 407.8 kB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.3287, allocations: 132 kB / 329.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.3289, allocations: 150.4 kB / 330 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.3292, allocations: 169.7 kB / 330.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.297e-05/0.3293, allocations: 32.91 kB / 330.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.3294, allocations: 34.16 kB / 330.2 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.3295, allocations: 71.75 kB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.3297, allocations: 180.2 kB / 330.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.3303, allocations: 370.2 kB / 330.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3303, allocations: 0 / 330.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3303, allocations: 1.219 kB / 330.8 MB, free: 13.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3303, allocations: 4 kB / 330.8 MB, free: 13.8 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.001358/0.3317, allocations: 0.6366 MB / 331.5 MB, free: 13.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.3317, allocations: 13.3 kB / 331.5 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.808e-05/0.3318, allocations: 38.78 kB / 331.5 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.3322, allocations: 274.3 kB / 331.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.3322, allocations: 25.69 kB / 331.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.3323, allocations: 31.28 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.333, allocations: 309.9 kB / 332.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.333, allocations: 1.125 kB / 332.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.3331, allocations: 10.25 kB / 332.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3331, allocations: 7.906 kB / 332.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.3339, allocations: 296.8 kB / 332.5 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.336, allocations: 1.095 MB / 333.5 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/0.3369, allocations: 290.8 kB / 333.8 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.3374, allocations: 172.8 kB / 334 MB, free: 11.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.3375, allocations: 8 kB / 334 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.3375, allocations: 34.52 kB / 334 MB, free: 11.11 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.3375, allocations: 4 kB / 334 MB, free: 11.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002641/0.3402, allocations: 0.8169 MB / 334.9 MB, free: 10.24 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.3402, allocations: 63.34 kB / 334.9 MB, free: 10.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3406, allocations: 270.6 kB / 335.2 MB, free: 9.887 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.3407, allocations: 33.64 kB / 335.2 MB, free: 9.848 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.3409, allocations: 203.9 kB / 335.4 MB, free: 9.645 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.3409, allocations: 67 kB / 335.5 MB, free: 9.578 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3411, allocations: 61.61 kB / 335.5 MB, free: 9.512 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3412, allocations: 334.8 kB / 335.9 MB, free: 9.176 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3415, allocations: 97.98 kB / 336 MB, free: 9.078 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.3418, allocations: 183 kB / 336.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.3424, allocations: 278.9 kB / 336.4 MB, free: 8.547 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3424, allocations: 0 / 336.4 MB, free: 8.547 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00136/0.3438, allocations: 0.5141 MB / 336.9 MB, free: 8.02 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3438, allocations: 8 kB / 336.9 MB, free: 8.012 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3439, allocations: 4 kB / 336.9 MB, free: 8.008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/0.3444, allocations: 125.7 kB / 337.1 MB, free: 7.879 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3446, allocations: 51.86 kB / 337.1 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/0.35, allocations: 3.65 MB / 340.8 MB, free: 3.895 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.3505, allocations: 47.75 kB / 340.8 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.3505, allocations: 19.92 kB / 340.8 MB, free: 3.828 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003053/0.3508, allocations: 160.1 kB / 341 MB, free: 3.668 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001969/0.351, allocations: 155.5 kB / 341.1 MB, free: 3.477 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003333/0.3514, allocations: 226.9 kB / 341.4 MB, free: 3.215 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.3514, allocations: 3.984 kB / 341.4 MB, free: 3.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0005606/0.352, allocations: 310.5 kB / 341.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.352, allocations: 11.98 kB / 341.7 MB, free: 2.883 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.352, allocations: 4 kB / 341.7 MB, free: 2.879 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.3522, allocations: 58 kB / 341.7 MB, free: 2.816 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.3524, allocations: 55.92 kB / 341.8 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.3548, allocations: 2.966 MB / 344.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.3551, allocations: 19.84 kB / 344.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.3551, allocations: 8 kB / 344.8 MB, free: 15.49 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.0002233/0.3553, allocations: 204.1 kB / 345 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.3554, allocations: 31.72 kB / 345 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.368e-05/0.3555, allocations: 30.17 kB / 345.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3555, allocations: 0 / 345.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3555, allocations: 0 / 345.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3556, allocations: 3.984 kB / 345.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.3572, allocations: 0.7892 MB / 345.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3572, allocations: 0 / 345.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3574, allocations: 23.98 kB / 345.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.3579, allocations: 129.6 kB / 346 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3579, allocations: 7.984 kB / 346 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004702/0.3626, allocations: 3.623 MB / 349.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3627, allocations: 0 / 349.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.364, allocations: 0.5707 MB / 350.2 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3641, allocations: 108.8 kB / 350.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.3641, allocations: 0 / 350.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3644, allocations: 23.98 kB / 350.3 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.3645, allocations: 27.97 kB / 350.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3645, allocations: 4 kB / 350.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3647, allocations: 194 kB / 350.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3647, allocations: 0 / 350.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008344/0.3655, allocations: 159.6 kB / 350.7 MB, free: 9.184 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.0001916/0.3657, allocations: 107.3 kB / 350.8 MB, free: 9.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3674, allocations: 0.8713 MB / 351.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3674, allocations: 4 kB / 351.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.3682, allocations: 433.3 kB / 352.1 MB, free: 7.695 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.3688, allocations: 44.53 kB / 352.2 MB, free: 7.652 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3701, allocations: 0.5978 MB / 352.7 MB, free: 7.031 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.3706, allocations: 0.7684 MB / 353.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.3707, allocations: 34.95 kB / 353.6 MB, free: 6.207 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.3708, allocations: 23.44 kB / 353.6 MB, free: 6.184 MB / 286.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3708, allocations: 0 / 353.6 MB, free: 6.184 MB / 286.1 MB Notification: Performance of Templates: time 0.01011/0.3809, allocations: 4.638 MB / 358.2 MB, free: 1.539 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)