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.001149/0.001149, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001321/0.001321, allocations: 193.6 kB / 16.25 MB, free: 6.629 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.093/2.093, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.001416/0.001417, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4561, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.00845/0.4647, allocations: 2.969 MB / 327.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.4678, allocations: 0.7793 MB / 328.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/0.4685, allocations: 6.094 kB / 328.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.4692, allocations: 42.22 kB / 328.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006464/0.4699, allocations: 85.53 kB / 328.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.4707, allocations: 106.1 kB / 328.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.472, allocations: 415.8 kB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.4727, allocations: 127.9 kB / 329.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.4732, allocations: 152.2 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.4736, allocations: 168.7 kB / 329.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4738, allocations: 33.53 kB / 329.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4739, allocations: 33.44 kB / 329.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.474, allocations: 76.28 kB / 329.8 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.4744, allocations: 175 kB / 330 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.4751, allocations: 371.3 kB / 330.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.4752, allocations: 0 / 330.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.087e-06/0.4752, allocations: 0 / 330.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.4752, allocations: 4 kB / 330.4 MB, free: 13.76 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.001768/0.477, allocations: 0.6493 MB / 331 MB, free: 13.19 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.985e-05/0.4771, allocations: 9 kB / 331 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.4772, allocations: 35.09 kB / 331.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.4779, allocations: 282.4 kB / 331.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.543e-05/0.478, allocations: 20.19 kB / 331.4 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.4781, allocations: 28 kB / 331.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.4791, allocations: 311 kB / 331.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4792, allocations: 0 / 331.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.4792, allocations: 15.2 kB / 331.7 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.4793, allocations: 7.062 kB / 331.7 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.4804, allocations: 293.1 kB / 332 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.4834, allocations: 1.092 MB / 333.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.4847, allocations: 299.7 kB / 333.4 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.4853, allocations: 172.8 kB / 333.5 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.4854, allocations: 0 / 333.5 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.4855, allocations: 42.5 kB / 333.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 2.835e-06/0.4855, allocations: 0 / 333.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.004115/0.4896, allocations: 0.8213 MB / 334.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.4897, allocations: 55.36 kB / 334.5 MB, free: 10.25 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.4903, allocations: 274.6 kB / 334.7 MB, free: 9.973 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.4904, allocations: 29.7 kB / 334.8 MB, free: 9.938 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.4906, allocations: 199.9 kB / 335 MB, free: 9.738 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.4908, allocations: 67 kB / 335 MB, free: 9.672 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.4909, allocations: 65.61 kB / 335.1 MB, free: 9.602 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.4912, allocations: 334.8 kB / 335.4 MB, free: 9.266 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.4916, allocations: 97.98 kB / 335.5 MB, free: 9.168 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.4922, allocations: 182.9 kB / 335.7 MB, free: 8.949 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009113/0.4931, allocations: 275 kB / 336 MB, free: 8.641 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.4931, allocations: 4 kB / 336 MB, free: 8.637 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002407/0.4956, allocations: 0.5141 MB / 336.5 MB, free: 8.109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.4956, allocations: 8 kB / 336.5 MB, free: 8.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.4957, allocations: 0 / 336.5 MB, free: 8.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008925/0.4966, allocations: 121.7 kB / 336.6 MB, free: 7.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.4969, allocations: 59.84 kB / 336.7 MB, free: 7.918 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/0.5054, allocations: 3.646 MB / 340.3 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.5061, allocations: 47.67 kB / 340.4 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.5061, allocations: 16 kB / 340.4 MB, free: 3.926 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003769/0.5065, allocations: 164.1 kB / 340.5 MB, free: 3.762 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003028/0.5068, allocations: 155.5 kB / 340.7 MB, free: 3.57 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005133/0.5074, allocations: 230.8 kB / 340.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.5074, allocations: 0 / 340.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0008991/0.5083, allocations: 322.4 kB / 341.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.5084, allocations: 8 kB / 341.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5084, allocations: 0 / 341.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.5087, allocations: 50.06 kB / 341.3 MB, free: 2.914 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.5091, allocations: 64.09 kB / 341.3 MB, free: 2.852 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.5128, allocations: 2.962 MB / 344.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.5133, allocations: 15.84 kB / 344.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.5133, allocations: 16 kB / 344.3 MB, free: 15.58 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.0003256/0.5137, allocations: 200.1 kB / 344.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5138, allocations: 35.72 kB / 344.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.5139, allocations: 26.17 kB / 344.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.514, allocations: 4 kB / 344.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.514, allocations: 0 / 344.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.514, allocations: 0 / 344.6 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.5166, allocations: 0.7848 MB / 345.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5167, allocations: 0 / 345.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.5169, allocations: 23.98 kB / 345.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/0.5177, allocations: 133.8 kB / 345.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.5178, allocations: 4 kB / 345.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007576/0.5254, allocations: 3.623 MB / 349.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5255, allocations: 0 / 349.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.5277, allocations: 0.5747 MB / 349.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.528, allocations: 104.8 kB / 349.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.528, allocations: 4.141 kB / 349.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.5284, allocations: 20.17 kB / 349.9 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.5286, allocations: 31.95 kB / 349.9 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.5287, allocations: 12 kB / 349.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.5291, allocations: 190 kB / 350.1 MB, free: 9.426 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5291, allocations: 0 / 350.1 MB, free: 9.426 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001527/0.5307, allocations: 159.6 kB / 350.2 MB, free: 9.27 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.0003315/0.531, allocations: 103.2 kB / 350.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.5343, allocations: 0.8791 MB / 351.2 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5343, allocations: 0 / 351.2 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.5358, allocations: 429.4 kB / 351.6 MB, free: 7.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.537, allocations: 47.44 kB / 351.7 MB, free: 7.742 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.5398, allocations: 0.7088 MB / 352.4 MB, free: 7.008 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007848/0.5406, allocations: 0.7723 MB / 353.2 MB, free: 6.211 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.5409, allocations: 26.97 kB / 353.2 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.541, allocations: 27.44 kB / 353.2 MB, free: 6.16 MB / 286.1 MB Notification: Performance of SimCode: time 2.354e-06/0.5411, allocations: 0 / 353.2 MB, free: 6.16 MB / 286.1 MB Notification: Performance of Templates: time 0.02049/0.5616, allocations: 4.521 MB / 357.7 MB, free: 1.633 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)