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.001255/0.001255, allocations: 99.55 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.001418/0.001418, allocations: 177.3 kB / 15.94 MB, free: 228 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.919/1.919, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.0006867/0.0006869, allocations: 16 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4088, allocations: 47.58 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003353/0.4122, allocations: 2.344 MB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.4142, allocations: 0.7543 MB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.4145, allocations: 10.59 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.579e-05/0.4146, allocations: 40.02 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.4149, allocations: 124.7 kB / 329.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.4153, allocations: 90.45 kB / 329.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.4159, allocations: 285.5 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.4162, allocations: 97.7 kB / 330.2 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.4164, allocations: 123.6 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.4166, allocations: 152 kB / 330.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.4167, allocations: 18.28 kB / 330.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.26e-05/0.4168, allocations: 18.53 kB / 330.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.4168, allocations: 52.52 kB / 330.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.4169, allocations: 78.14 kB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.4173, allocations: 276.5 kB / 330.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4173, allocations: 0 / 330.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4174, allocations: 0 / 330.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4174, allocations: 4.844 kB / 330.9 MB, free: 14.05 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.001378/0.4188, allocations: 0.59 MB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4188, allocations: 8.438 kB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.575e-05/0.4189, allocations: 37.69 kB / 331.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.4193, allocations: 284.6 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4194, allocations: 20.22 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.4195, allocations: 31.47 kB / 331.9 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.4202, allocations: 301.9 kB / 332.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4202, allocations: 1.094 kB / 332.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.4204, allocations: 14.19 kB / 332.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4204, allocations: 7.281 kB / 332.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.4212, allocations: 305.7 kB / 332.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.4235, allocations: 1.108 MB / 333.6 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4245, allocations: 314.9 kB / 333.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.4246, allocations: 7.391 kB / 333.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.4247, allocations: 39.75 kB / 333.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.4247, allocations: 0 / 333.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.003052/0.4277, allocations: 0.8824 MB / 334.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.4278, allocations: 55.41 kB / 334.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/0.4283, allocations: 270.7 kB / 335.1 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.4283, allocations: 29.7 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.4286, allocations: 203.8 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4287, allocations: 75 kB / 335.4 MB, free: 10.22 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.4287, allocations: 4 kB / 335.4 MB, free: 10.22 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.429, allocations: 334.8 kB / 335.8 MB, free: 9.883 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.4292, allocations: 95.94 kB / 335.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.4296, allocations: 184.3 kB / 336 MB, free: 9.57 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.4299, allocations: 115.8 kB / 336.2 MB, free: 9.457 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4299, allocations: 4 kB / 336.2 MB, free: 9.453 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001472/0.4314, allocations: 0.5416 MB / 336.7 MB, free: 8.898 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006758/0.4321, allocations: 1.134 MB / 337.8 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.4321, allocations: 4 kB / 337.8 MB, free: 7.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.4327, allocations: 145.6 kB / 338 MB, free: 7.523 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.4329, allocations: 51.92 kB / 338 MB, free: 7.473 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.4378, allocations: 3.33 MB / 341.4 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.4383, allocations: 43.67 kB / 341.4 MB, free: 3.832 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.4383, allocations: 12 kB / 341.4 MB, free: 3.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4383, allocations: 4 kB / 341.4 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004877/0.4388, allocations: 269 kB / 341.7 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4389, allocations: 4 kB / 341.7 MB, free: 3.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.439, allocations: 54.05 kB / 341.7 MB, free: 3.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.4392, allocations: 59.91 kB / 341.8 MB, free: 3.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.4414, allocations: 2.821 MB / 344.6 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.4417, allocations: 27.75 kB / 344.6 MB, free: 320 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.4417, allocations: 16.06 kB / 344.7 MB, free: 304 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.0002706/0.442, allocations: 221 kB / 344.9 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.4421, allocations: 31.67 kB / 344.9 MB, free: 40 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.4421, allocations: 30.17 kB / 344.9 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4421, allocations: 3.938 kB / 344.9 MB, free: 0 / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.4422, allocations: 0 / 344.9 MB, free: 0 / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4422, allocations: 0 / 344.9 MB, free: 0 / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.4426, allocations: 329.4 kB / 345.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4426, allocations: 4 kB / 345.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4428, allocations: 43.88 kB / 345.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/0.4432, allocations: 129.6 kB / 345.4 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4432, allocations: 0 / 345.4 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.4472, allocations: 3.19 MB / 348.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4472, allocations: 0 / 348.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.4486, allocations: 0.6065 MB / 349.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.4487, allocations: 104.7 kB / 349.3 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.4488, allocations: 11.94 kB / 349.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.449, allocations: 27.98 kB / 349.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.4491, allocations: 20.03 kB / 349.4 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.4492, allocations: 8 kB / 349.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.4494, allocations: 190 kB / 349.6 MB, free: 11 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4494, allocations: 3.938 kB / 349.6 MB, free: 11 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008841/0.4503, allocations: 155.7 kB / 349.7 MB, free: 10.84 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.0001806/0.4505, allocations: 95.25 kB / 349.8 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.4519, allocations: 0.8186 MB / 350.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4519, allocations: 5.312 kB / 350.7 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.4524, allocations: 361.1 kB / 351 MB, free: 9.484 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.4529, allocations: 48.34 kB / 351.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.4542, allocations: 0.7076 MB / 351.8 MB, free: 8.707 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.4546, allocations: 0.7762 MB / 352.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.4548, allocations: 34.94 kB / 352.6 MB, free: 7.871 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4548, allocations: 23.44 kB / 352.6 MB, free: 7.848 MB / 286.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4548, allocations: 0 / 352.6 MB, free: 7.848 MB / 286.1 MB Notification: Performance of Templates: time 0.00871/0.4636, allocations: 4.002 MB / 356.6 MB, free: 3.848 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: