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.0125/0.0125, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.002057/0.002057, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.073/2.073, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001323/0.001323, allocations: 51.58 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1516, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004835/0.1565, allocations: 2.916 MB / 376.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.158, allocations: 0.7836 MB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.1582, allocations: 4 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1585, allocations: 63.42 kB / 377 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1587, allocations: 103.1 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.1591, allocations: 115.8 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.1596, allocations: 418.1 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.1599, allocations: 135.3 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1601, allocations: 155.4 kB / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.1604, allocations: 175.2 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.1605, allocations: 39.94 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.1605, allocations: 32 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.1606, allocations: 71.77 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.1608, allocations: 171.1 kB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.1613, allocations: 374.7 kB / 378.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1613, allocations: 3.938 kB / 378.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1613, allocations: 0 / 378.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.1613, allocations: 0 / 378.7 MB, free: 11.73 MB / 318.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.001177/0.1625, allocations: 0.6317 MB / 379.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1626, allocations: 19.95 kB / 379.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.1627, allocations: 36.47 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.1632, allocations: 295.4 kB / 379.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1632, allocations: 24.97 kB / 379.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/0.1633, allocations: 32.38 kB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.1639, allocations: 306.4 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1639, allocations: 0 / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.164, allocations: 16 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.164, allocations: 4 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.1647, allocations: 294.5 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.1665, allocations: 1.08 MB / 381.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.1673, allocations: 294.8 kB / 381.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.1678, allocations: 176.7 kB / 381.9 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1678, allocations: 4 kB / 381.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1679, allocations: 34.56 kB / 381.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.1679, allocations: 0 / 381.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00249/0.1704, allocations: 0.8213 MB / 382.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1704, allocations: 59.41 kB / 382.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1707, allocations: 274.5 kB / 383.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1707, allocations: 25.7 kB / 383.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1709, allocations: 207.9 kB / 383.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.171, allocations: 70.94 kB / 383.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.1711, allocations: 57.61 kB / 383.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1713, allocations: 334.8 kB / 383.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.1715, allocations: 100.8 kB / 383.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.1719, allocations: 179.1 kB / 384 MB, free: 6.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005693/0.1725, allocations: 286.8 kB / 384.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1725, allocations: 4 kB / 384.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001315/0.1738, allocations: 0.5064 MB / 384.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1738, allocations: 8 kB / 384.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1739, allocations: 7.938 kB / 384.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.1744, allocations: 117.7 kB / 385 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1746, allocations: 55.86 kB / 385 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.1796, allocations: 3.654 MB / 388.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.1799, allocations: 43.67 kB / 388.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.1799, allocations: 15.98 kB / 388.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002353/0.1801, allocations: 156.1 kB / 388.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001809/0.1803, allocations: 163.4 kB / 389 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00027/0.1806, allocations: 227.1 kB / 389.3 MB, free: 440 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.1806, allocations: 0 / 389.3 MB, free: 440 kB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004488/0.1811, allocations: 306.5 kB / 389.6 MB, free: 120 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1811, allocations: 8 kB / 389.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1811, allocations: 8.359 kB / 389.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.1812, allocations: 57.62 kB / 389.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.1815, allocations: 56 kB / 389.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.1838, allocations: 2.962 MB / 392.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.184, allocations: 27.69 kB / 392.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.184, allocations: 8 kB / 392.7 MB, free: 12.71 MB / 334.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.0002154/0.1842, allocations: 200.1 kB / 392.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.1843, allocations: 31.72 kB / 392.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.1844, allocations: 30.17 kB / 392.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1844, allocations: 4 kB / 392.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1844, allocations: 0 / 392.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1845, allocations: 3.984 kB / 392.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.1861, allocations: 0.7964 MB / 393.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1861, allocations: 0 / 393.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.1862, allocations: 27.98 kB / 393.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/0.1866, allocations: 125.6 kB / 393.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1867, allocations: 3.984 kB / 393.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.1911, allocations: 3.619 MB / 397.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1911, allocations: 4.031 kB / 397.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.1925, allocations: 0.5669 MB / 398.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.1926, allocations: 104.8 kB / 398.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1926, allocations: 3.984 kB / 398.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1928, allocations: 28.05 kB / 398.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.1929, allocations: 23.91 kB / 398.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.193, allocations: 4 kB / 398.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.1932, allocations: 194 kB / 398.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1932, allocations: 0 / 398.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008405/0.1941, allocations: 155.6 kB / 398.6 MB, free: 6.406 MB / 334.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.0002453/0.1943, allocations: 115.3 kB / 398.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.196, allocations: 0.8739 MB / 399.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.196, allocations: 3.938 kB / 399.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.1968, allocations: 433.8 kB / 400 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.1973, allocations: 52.38 kB / 400.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1987, allocations: 0.5794 MB / 400.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1991, allocations: 0.7684 MB / 401.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.1992, allocations: 34.94 kB / 401.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1993, allocations: 23.44 kB / 401.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1993, allocations: 0 / 401.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of Templates: time 0.01009/0.2094, allocations: 4.692 MB / 406.2 MB, free: 14.69 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (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)