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.001546/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001463/0.001463, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.864/1.864, allocations: 205.1 MB / 222 MB, free: 4.773 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.001207/0.001207, allocations: 47.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3394, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004902/0.3443, allocations: 2.968 MB / 327.7 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3461, allocations: 0.7837 MB / 328.4 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.3463, allocations: 5.844 kB / 328.4 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3464, allocations: 42.41 kB / 328.5 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.3466, allocations: 84.75 kB / 328.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3469, allocations: 102.6 kB / 328.7 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.3474, allocations: 395.6 kB / 329.1 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.3477, allocations: 112.4 kB / 329.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.3479, allocations: 133.8 kB / 329.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.3482, allocations: 169.4 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.3483, allocations: 23.78 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.3484, allocations: 27.53 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.3485, allocations: 55.67 kB / 329.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.3487, allocations: 171.2 kB / 329.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.3491, allocations: 358.6 kB / 330.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3492, allocations: 0.8438 kB / 330.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3492, allocations: 0 / 330.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3492, allocations: 0 / 330.1 MB, free: 13.81 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.001225/0.3504, allocations: 0.6453 MB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3505, allocations: 9.062 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3506, allocations: 34.62 kB / 330.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.351, allocations: 286 kB / 331.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.351, allocations: 24.44 kB / 331.1 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.3511, allocations: 28.44 kB / 331.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.3518, allocations: 307 kB / 331.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3518, allocations: 0 / 331.4 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.3519, allocations: 23.2 kB / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3519, allocations: 6.656 kB / 331.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.3526, allocations: 293.1 kB / 331.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.3547, allocations: 1.097 MB / 332.8 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/0.3556, allocations: 293.8 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/0.356, allocations: 168.8 kB / 333.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.356, allocations: 8 kB / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3561, allocations: 34.52 kB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.3561, allocations: 0 / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002387/0.3585, allocations: 0.8213 MB / 334.1 MB, free: 10.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.3585, allocations: 59.36 kB / 334.2 MB, free: 10.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.3588, allocations: 278.5 kB / 334.5 MB, free: 10.1 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3588, allocations: 29.7 kB / 334.5 MB, free: 10.07 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.359, allocations: 195.9 kB / 334.7 MB, free: 9.871 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.3591, allocations: 74.98 kB / 334.8 MB, free: 9.797 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3592, allocations: 57.61 kB / 334.8 MB, free: 9.734 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3593, allocations: 334.8 kB / 335.1 MB, free: 9.398 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.3596, allocations: 102 kB / 335.2 MB, free: 9.297 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.3599, allocations: 186.9 kB / 335.4 MB, free: 9.074 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.3604, allocations: 275 kB / 335.7 MB, free: 8.766 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3604, allocations: 0 / 335.7 MB, free: 8.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001282/0.3617, allocations: 0.5064 MB / 336.2 MB, free: 8.246 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3617, allocations: 8 kB / 336.2 MB, free: 8.238 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3618, allocations: 4 kB / 336.2 MB, free: 8.234 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.3623, allocations: 117.7 kB / 336.3 MB, free: 8.113 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3625, allocations: 59.86 kB / 336.4 MB, free: 8.055 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.3668, allocations: 3.349 MB / 339.7 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.3671, allocations: 43.61 kB / 339.8 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3672, allocations: 8 kB / 339.8 MB, free: 4.387 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002234/0.3674, allocations: 168.1 kB / 339.9 MB, free: 4.219 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001551/0.3676, allocations: 147.7 kB / 340.1 MB, free: 4.035 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002834/0.3679, allocations: 235 kB / 340.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.3679, allocations: 0 / 340.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004776/0.3684, allocations: 318.8 kB / 340.6 MB, free: 3.441 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3684, allocations: 8 kB / 340.6 MB, free: 3.434 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3684, allocations: 4 kB / 340.6 MB, free: 3.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.3686, allocations: 53.62 kB / 340.7 MB, free: 3.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3688, allocations: 55.91 kB / 340.7 MB, free: 3.316 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.3707, allocations: 2.701 MB / 343.5 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3709, allocations: 19.75 kB / 343.5 MB, free: 336 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.371, allocations: 16 kB / 343.5 MB, free: 320 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.0002089/0.3712, allocations: 196.1 kB / 343.7 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.3712, allocations: 27.66 kB / 343.7 MB, free: 88 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.3713, allocations: 34.23 kB / 343.7 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3713, allocations: 0 / 343.7 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3713, allocations: 4 kB / 343.7 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3713, allocations: 3.984 kB / 343.7 MB, free: 48 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.3729, allocations: 0.7848 MB / 344.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.373, allocations: 0 / 344.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3731, allocations: 28.12 kB / 344.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.3735, allocations: 125.6 kB / 344.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3736, allocations: 11.94 kB / 344.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.3778, allocations: 3.318 MB / 348 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.3778, allocations: 8.016 kB / 348 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.3791, allocations: 0.5707 MB / 348.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.3792, allocations: 104.8 kB / 348.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.3792, allocations: 4 kB / 348.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3795, allocations: 23.98 kB / 348.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.3795, allocations: 19.91 kB / 348.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3796, allocations: 12.06 kB / 348.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3798, allocations: 194 kB / 348.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3798, allocations: 3.938 kB / 348.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008451/0.3806, allocations: 155.7 kB / 349.1 MB, free: 10.32 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.0002382/0.3809, allocations: 95.25 kB / 349.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.3828, allocations: 0.8672 MB / 350.1 MB, free: 9.297 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3828, allocations: 4 kB / 350.1 MB, free: 9.293 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.3836, allocations: 425.3 kB / 350.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.3843, allocations: 48.47 kB / 350.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.3859, allocations: 0.7042 MB / 351.2 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.3864, allocations: 0.7684 MB / 352 MB, free: 7.285 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000157/0.3866, allocations: 30.97 kB / 352 MB, free: 7.258 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.3866, allocations: 23.38 kB / 352 MB, free: 7.234 MB / 286.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3866, allocations: 4 kB / 352.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of Templates: time 0.009891/0.3965, allocations: 4.243 MB / 356.3 MB, free: 2.984 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)