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.001425/0.001425, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001443/0.001443, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0008427/0.0008432, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3427, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.00316/0.346, allocations: 2.341 MB / 328.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3475, allocations: 0.7612 MB / 329.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.3478, allocations: 13.38 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.739e-05/0.3479, allocations: 44.98 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.3482, allocations: 124.9 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.3485, allocations: 86.14 kB / 329.8 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.3489, allocations: 281.9 kB / 330.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.3492, allocations: 97.28 kB / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.3494, allocations: 123.6 kB / 330.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.3496, allocations: 144.4 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.3497, allocations: 17.59 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.3498, allocations: 17.75 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.3498, allocations: 56.5 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.35, allocations: 82.36 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.3504, allocations: 276.4 kB / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3504, allocations: 1.219 kB / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3505, allocations: 4 kB / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3505, allocations: 0 / 330.9 MB, free: 14.02 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.001498/0.352, allocations: 0.5895 MB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/0.3521, allocations: 8.812 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3522, allocations: 37.59 kB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.3528, allocations: 284.7 kB / 331.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.3529, allocations: 21.03 kB / 331.8 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.353, allocations: 27.69 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/0.3539, allocations: 305.8 kB / 332.2 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3539, allocations: 7.984 kB / 332.2 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.354, allocations: 10.97 kB / 332.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.354, allocations: 7.188 kB / 332.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.355, allocations: 308.8 kB / 332.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.3577, allocations: 1.105 MB / 333.6 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3587, allocations: 315.3 kB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.3588, allocations: 9.953 kB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.3588, allocations: 36.69 kB / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.3588, allocations: 0 / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002653/0.3615, allocations: 0.878 MB / 334.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.3616, allocations: 55.41 kB / 334.9 MB, free: 10.83 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.3619, allocations: 266.7 kB / 335.1 MB, free: 10.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3619, allocations: 33.7 kB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3621, allocations: 203.8 kB / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.3622, allocations: 74.98 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.3622, allocations: 8 kB / 335.5 MB, free: 10.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003573/0.3626, allocations: 330.8 kB / 335.8 MB, free: 9.898 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.3628, allocations: 99.89 kB / 335.9 MB, free: 9.801 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.3631, allocations: 188.3 kB / 336.1 MB, free: 9.578 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.3634, allocations: 111.9 kB / 336.2 MB, free: 9.469 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3634, allocations: 4 kB / 336.2 MB, free: 9.465 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001439/0.3649, allocations: 0.5378 MB / 336.7 MB, free: 8.914 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006543/0.3655, allocations: 1.138 MB / 337.8 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3655, allocations: 4 kB / 337.8 MB, free: 7.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/0.3661, allocations: 141.6 kB / 338 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3663, allocations: 55.91 kB / 338 MB, free: 7.484 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/0.3712, allocations: 3.326 MB / 341.4 MB, free: 3.891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.3718, allocations: 43.67 kB / 341.4 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3718, allocations: 16 kB / 341.4 MB, free: 3.832 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3718, allocations: 4 kB / 341.4 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005143/0.3723, allocations: 261.1 kB / 341.7 MB, free: 3.566 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3724, allocations: 7.938 kB / 341.7 MB, free: 3.559 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.3725, allocations: 54.06 kB / 341.7 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3727, allocations: 59.91 kB / 341.8 MB, free: 3.441 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.3752, allocations: 2.817 MB / 344.6 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.3755, allocations: 23.75 kB / 344.6 MB, free: 344 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3756, allocations: 20.06 kB / 344.7 MB, free: 324 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.3759, allocations: 225 kB / 344.9 MB, free: 88 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.3759, allocations: 27.67 kB / 344.9 MB, free: 60 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.376, allocations: 30.19 kB / 344.9 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.376, allocations: 4.266 kB / 344.9 MB, free: 20 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.376, allocations: 4 kB / 344.9 MB, free: 16 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.376, allocations: 11.92 kB / 345 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.3764, allocations: 325.4 kB / 345.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3764, allocations: 4 kB / 345.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3766, allocations: 35.88 kB / 345.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.3771, allocations: 133.6 kB / 345.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3771, allocations: 0 / 345.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003839/0.3809, allocations: 3.19 MB / 348.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.381, allocations: 0 / 348.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.3824, allocations: 0.6026 MB / 349.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.3825, allocations: 108.7 kB / 349.3 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.3826, allocations: 7.953 kB / 349.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.3828, allocations: 27.97 kB / 349.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.3829, allocations: 20.05 kB / 349.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3829, allocations: 11.98 kB / 349.4 MB, free: 11.2 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.3831, allocations: 186 kB / 349.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.3831, allocations: 0 / 349.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00085/0.384, allocations: 155.6 kB / 349.7 MB, free: 10.86 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001829/0.3842, allocations: 103.2 kB / 349.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.3856, allocations: 0.8238 MB / 350.7 MB, free: 9.875 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3856, allocations: 0 / 350.7 MB, free: 9.875 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.3861, allocations: 357.2 kB / 351 MB, free: 9.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.3866, allocations: 48.38 kB / 351.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.388, allocations: 0.7115 MB / 351.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3884, allocations: 0.7723 MB / 352.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.3886, allocations: 34.95 kB / 352.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.3886, allocations: 19.44 kB / 352.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3886, allocations: 0 / 352.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of Templates: time 0.008696/0.3973, allocations: 4.013 MB / 356.6 MB, free: 3.855 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: