Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001221/0.001221, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001351/0.001351, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.06/2.06, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.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.001562/0.001562, allocations: 51.86 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1442, allocations: 46.63 MB / 326.6 MB, free: 4.445 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005526/0.1498, allocations: 2.928 MB / 329.6 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1518, allocations: 0.7721 MB / 330.3 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1521, allocations: 11.94 kB / 330.3 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1523, allocations: 55.44 kB / 330.4 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1526, allocations: 107.2 kB / 330.5 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.1531, allocations: 123.8 kB / 330.6 MB, free: 428 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005396/0.1536, allocations: 406.1 kB / 331 MB, free: 20 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.154, allocations: 131.4 kB / 331.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1542, allocations: 147.4 kB / 331.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1544, allocations: 171.2 kB / 331.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.1545, allocations: 35.98 kB / 331.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.1546, allocations: 36 kB / 331.5 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.1547, allocations: 71.75 kB / 331.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.1549, allocations: 183.1 kB / 331.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.1553, allocations: 366.9 kB / 332.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1553, allocations: 0 / 332.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1553, allocations: 4 kB / 332.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1553, allocations: 3.984 kB / 332.1 MB, free: 14.89 MB / 286.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.001167/0.1565, allocations: 0.6316 MB / 332.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1566, allocations: 8.031 kB / 332.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.1566, allocations: 36.56 kB / 332.8 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.157, allocations: 287.4 kB / 333.1 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.1571, allocations: 25.03 kB / 333.1 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.1571, allocations: 32.38 kB / 333.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.1578, allocations: 310.3 kB / 333.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1578, allocations: 0 / 333.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.1579, allocations: 16 kB / 333.5 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1579, allocations: 8 kB / 333.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006846/0.1586, allocations: 298.5 kB / 333.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1605, allocations: 1.092 MB / 334.9 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.1614, allocations: 290.8 kB / 335.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.1619, allocations: 168.8 kB / 335.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.1619, allocations: 7.984 kB / 335.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.162, allocations: 42.52 kB / 335.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.162, allocations: 0 / 335.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002555/0.1645, allocations: 0.8168 MB / 336.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1646, allocations: 63.3 kB / 336.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.1649, allocations: 262.7 kB / 336.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.165, allocations: 33.7 kB / 336.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1652, allocations: 211.8 kB / 336.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.1652, allocations: 67 kB / 336.8 MB, free: 9.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1653, allocations: 53.7 kB / 336.9 MB, free: 9.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1655, allocations: 338.8 kB / 337.2 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.1658, allocations: 88.81 kB / 337.3 MB, free: 9.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1661, allocations: 191 kB / 337.5 MB, free: 9.242 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.1666, allocations: 278.9 kB / 337.7 MB, free: 8.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1667, allocations: 4 kB / 337.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001374/0.168, allocations: 0.5102 MB / 338.2 MB, free: 8.402 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1681, allocations: 4 kB / 338.3 MB, free: 8.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.1681, allocations: 4 kB / 338.3 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.1687, allocations: 125.6 kB / 338.4 MB, free: 8.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1689, allocations: 51.86 kB / 338.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004953/0.1738, allocations: 3.658 MB / 342.1 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1741, allocations: 47.52 kB / 342.1 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1742, allocations: 12 kB / 342.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001994/0.1744, allocations: 168.1 kB / 342.3 MB, free: 4.047 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001549/0.1745, allocations: 147.6 kB / 342.5 MB, free: 3.863 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002701/0.1748, allocations: 230.8 kB / 342.7 MB, free: 3.598 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.115e-06/0.1748, allocations: 4 kB / 342.7 MB, free: 3.594 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004703/0.1753, allocations: 306.5 kB / 343 MB, free: 3.281 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1753, allocations: 4.375 kB / 343 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1753, allocations: 8 kB / 343 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.1755, allocations: 49.69 kB / 343 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.1757, allocations: 63.91 kB / 343.1 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.1777, allocations: 2.97 MB / 346.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1779, allocations: 19.84 kB / 346.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1779, allocations: 12 kB / 346.1 MB, free: 15.87 MB / 302.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.000161/0.1781, allocations: 204.2 kB / 346.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.1782, allocations: 27.66 kB / 346.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.1782, allocations: 30.17 kB / 346.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1782, allocations: 0 / 346.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1782, allocations: 0 / 346.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1782, allocations: 0 / 346.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1798, allocations: 0.7931 MB / 347.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1798, allocations: 0 / 347.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.18, allocations: 27.92 kB / 347.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.1804, allocations: 125.6 kB / 347.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1804, allocations: 15.94 kB / 347.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004756/0.1852, allocations: 3.623 MB / 350.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1852, allocations: 0 / 350.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1867, allocations: 0.563 MB / 351.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.1868, allocations: 104.8 kB / 351.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.1869, allocations: 4 kB / 351.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.1872, allocations: 28.03 kB / 351.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.1873, allocations: 23.86 kB / 351.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1873, allocations: 11.98 kB / 351.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.1876, allocations: 190 kB / 351.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1876, allocations: 3.938 kB / 351.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009636/0.1885, allocations: 155.6 kB / 352 MB, free: 9.566 MB / 302.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.0002196/0.1888, allocations: 111.2 kB / 352.1 MB, free: 9.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.1908, allocations: 0.8821 MB / 353 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1908, allocations: 0 / 353 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008486/0.1917, allocations: 421.7 kB / 353.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.1924, allocations: 56.58 kB / 353.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1943, allocations: 0.5982 MB / 354.1 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.195, allocations: 0.7722 MB / 354.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.1952, allocations: 34.95 kB / 354.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1953, allocations: 19.44 kB / 354.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1953, allocations: 0 / 354.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of Templates: time 0.01224/0.2075, allocations: 4.627 MB / 359.5 MB, free: 1.926 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)