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.008992/0.008992, allocations: 94.75 kB / 15.73 MB, free: 6.039 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.00115/0.00115, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.059/2.059, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.002548/0.002548, allocations: 51.02 kB / 326.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1546, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.006021/0.1607, allocations: 2.92 MB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1629, allocations: 0.7719 MB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.1635, allocations: 11.94 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.164, allocations: 55.44 kB / 377 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006781/0.1647, allocations: 103.2 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.1654, allocations: 123.8 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.1665, allocations: 414.1 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1669, allocations: 127.4 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.1672, allocations: 147.4 kB / 377.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.1676, allocations: 179.2 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/0.1676, allocations: 32 kB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.1677, allocations: 32 kB / 378.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.1678, allocations: 75.69 kB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.1681, allocations: 179.1 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006111/0.1687, allocations: 374.4 kB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.1687, allocations: 0 / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1687, allocations: 3.938 kB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1688, allocations: 0 / 378.7 MB, free: 11.76 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.001333/0.1701, allocations: 0.6468 MB / 379.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.716e-05/0.1702, allocations: 8.031 kB / 379.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1703, allocations: 44.7 kB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.171, allocations: 295.5 kB / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.171, allocations: 21.03 kB / 379.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1711, allocations: 32.38 kB / 379.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/0.1718, allocations: 318.3 kB / 380.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1719, allocations: 0 / 380.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1719, allocations: 16 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.1719, allocations: 8 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.1727, allocations: 286.5 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.1748, allocations: 1.092 MB / 381.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/0.1757, allocations: 286.8 kB / 381.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.1762, allocations: 176.7 kB / 381.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1762, allocations: 4 kB / 381.9 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.1763, allocations: 38.56 kB / 382 MB, free: 8.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.1763, allocations: 0 / 382 MB, free: 8.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002468/0.1787, allocations: 0.8098 MB / 382.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1788, allocations: 67.34 kB / 382.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1792, allocations: 270.6 kB / 383.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1792, allocations: 33.64 kB / 383.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.1795, allocations: 208.3 kB / 383.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.1796, allocations: 75.38 kB / 383.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1797, allocations: 57.66 kB / 383.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.18, allocations: 338.8 kB / 383.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.1802, allocations: 92.81 kB / 383.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.1807, allocations: 179.1 kB / 384.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.1815, allocations: 286.8 kB / 384.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.1815, allocations: 3.984 kB / 384.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001419/0.183, allocations: 0.4988 MB / 384.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.183, allocations: 4 kB / 384.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.183, allocations: 7.984 kB / 384.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.1836, allocations: 125.6 kB / 385 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.1839, allocations: 55.84 kB / 385 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0055/0.1894, allocations: 3.662 MB / 388.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.1898, allocations: 39.77 kB / 388.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1898, allocations: 12 kB / 388.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002923/0.1901, allocations: 164.1 kB / 388.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002331/0.1903, allocations: 155.5 kB / 389.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003589/0.1907, allocations: 235 kB / 389.3 MB, free: 440 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.1907, allocations: 0 / 389.3 MB, free: 440 kB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0006403/0.1914, allocations: 314.7 kB / 389.6 MB, free: 112 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.1914, allocations: 4 kB / 389.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1914, allocations: 4 kB / 389.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.1916, allocations: 54.06 kB / 389.7 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.1918, allocations: 59.95 kB / 389.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.1942, allocations: 2.97 MB / 392.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1944, allocations: 23.84 kB / 392.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1945, allocations: 12 kB / 392.7 MB, free: 12.7 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.0001923/0.1947, allocations: 200.1 kB / 392.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1947, allocations: 27.8 kB / 392.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-05/0.1948, allocations: 38.23 kB / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1948, allocations: 0 / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1948, allocations: 0 / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1948, allocations: 0 / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.1965, allocations: 0.7887 MB / 393.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.1965, allocations: 7.922 kB / 393.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.1967, allocations: 23.94 kB / 393.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.1971, allocations: 133.7 kB / 393.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1972, allocations: 4 kB / 393.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/0.2023, allocations: 3.623 MB / 397.6 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.2023, allocations: 7.922 kB / 397.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.2038, allocations: 0.5593 MB / 398.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.204, allocations: 105 kB / 398.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.204, allocations: 0 / 398.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2042, allocations: 32.03 kB / 398.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.2044, allocations: 23.86 kB / 398.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2044, allocations: 4 kB / 398.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.2046, allocations: 194 kB / 398.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2046, allocations: 0 / 398.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000925/0.2056, allocations: 163.7 kB / 398.6 MB, free: 6.391 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.0002574/0.2058, allocations: 107.2 kB / 398.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.2078, allocations: 0.8895 MB / 399.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2079, allocations: 0 / 399.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009193/0.2088, allocations: 421.7 kB / 400 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.2093, allocations: 52.56 kB / 400.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.2106, allocations: 0.5826 MB / 400.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.2111, allocations: 0.7684 MB / 401.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.2113, allocations: 30.97 kB / 401.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.2113, allocations: 27.38 kB / 401.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2113, allocations: 0 / 401.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of Templates: time 0.00983/0.2212, allocations: 4.711 MB / 406.2 MB, free: 14.66 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)