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.001849/0.001849, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.002068/0.002069, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 223.4 MB, free: 12.36 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.001355/0.001355, allocations: 47.92 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 46.63 MB / 326.1 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004755/0.1456, allocations: 2.969 MB / 329.1 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1471, allocations: 0.776 MB / 329.9 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1474, allocations: 8 kB / 329.9 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1476, allocations: 39.69 kB / 329.9 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1478, allocations: 91.3 kB / 330 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.1481, allocations: 107.9 kB / 330.1 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.1486, allocations: 406.1 kB / 330.5 MB, free: 356 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1489, allocations: 127.4 kB / 330.7 MB, free: 232 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1491, allocations: 151.4 kB / 330.8 MB, free: 80 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1493, allocations: 171.4 kB / 331 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.1494, allocations: 32 kB / 331 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.1494, allocations: 36 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1495, allocations: 75.69 kB / 331.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.1497, allocations: 171.1 kB / 331.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.1501, allocations: 370.8 kB / 331.6 MB, free: 15.24 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.1501, allocations: 8 kB / 331.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1501, allocations: 0 / 331.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1502, allocations: 3.938 kB / 331.7 MB, free: 15.23 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.001218/0.1514, allocations: 0.6393 MB / 332.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1514, allocations: 8.031 kB / 332.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.1515, allocations: 40.56 kB / 332.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.152, allocations: 291.4 kB / 332.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.152, allocations: 25.03 kB / 332.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.1521, allocations: 24.38 kB / 332.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.1528, allocations: 310.4 kB / 333 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1528, allocations: 4 kB / 333 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.1529, allocations: 8 kB / 333 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1529, allocations: 8 kB / 333 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.1535, allocations: 298.5 kB / 333.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.1554, allocations: 1.092 MB / 334.4 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.1562, allocations: 286.8 kB / 334.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.1566, allocations: 180.7 kB / 334.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1566, allocations: 0 / 334.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1567, allocations: 42.52 kB / 334.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 9.42e-07/0.1567, allocations: 0 / 334.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002669/0.1594, allocations: 0.8212 MB / 335.7 MB, free: 10.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1594, allocations: 59.36 kB / 335.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.1598, allocations: 266.7 kB / 336 MB, free: 10.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.1598, allocations: 29.7 kB / 336 MB, free: 10.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.16, allocations: 199.8 kB / 336.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.1601, allocations: 71 kB / 336.3 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.1602, allocations: 57.7 kB / 336.4 MB, free: 10.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1604, allocations: 338.8 kB / 336.7 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.1606, allocations: 88.81 kB / 336.8 MB, free: 9.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.1609, allocations: 190.9 kB / 337 MB, free: 9.574 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.1614, allocations: 279 kB / 337.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1614, allocations: 0 / 337.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001284/0.1627, allocations: 0.5103 MB / 337.8 MB, free: 8.738 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1628, allocations: 4 kB / 337.8 MB, free: 8.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1628, allocations: 4 kB / 337.8 MB, free: 8.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.1633, allocations: 125.7 kB / 337.9 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1635, allocations: 51.86 kB / 337.9 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.1681, allocations: 3.654 MB / 341.6 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.1684, allocations: 51.58 kB / 341.6 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1684, allocations: 12 kB / 341.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000265/0.1687, allocations: 164.1 kB / 341.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001628/0.1688, allocations: 159.4 kB / 342 MB, free: 4.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002701/0.1691, allocations: 238.9 kB / 342.2 MB, free: 3.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.1691, allocations: 0 / 342.2 MB, free: 3.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004912/0.1696, allocations: 310.6 kB / 342.5 MB, free: 3.602 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1696, allocations: 4 kB / 342.5 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1697, allocations: 4 kB / 342.5 MB, free: 3.594 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.1698, allocations: 50.03 kB / 342.6 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.1701, allocations: 67.91 kB / 342.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.1721, allocations: 2.962 MB / 345.6 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1723, allocations: 19.84 kB / 345.6 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1723, allocations: 12 kB / 345.6 MB, free: 204 kB / 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.0001478/0.1725, allocations: 196.1 kB / 345.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.1725, allocations: 27.83 kB / 345.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.1726, allocations: 38.23 kB / 345.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1726, allocations: 0 / 345.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1726, allocations: 0 / 345.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1726, allocations: 3.984 kB / 345.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.1741, allocations: 0.7924 MB / 346.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1741, allocations: 0 / 346.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1743, allocations: 23.98 kB / 346.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003911/0.1747, allocations: 129.8 kB / 346.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1747, allocations: 4 kB / 346.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/0.1793, allocations: 3.623 MB / 350.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1793, allocations: 0 / 350.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1805, allocations: 0.5747 MB / 351 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.1806, allocations: 96.83 kB / 351.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.1807, allocations: 4 kB / 351.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1809, allocations: 23.97 kB / 351.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.181, allocations: 27.91 kB / 351.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.181, allocations: 8.062 kB / 351.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.1812, allocations: 190 kB / 351.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1812, allocations: 0 / 351.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007545/0.182, allocations: 159.5 kB / 351.5 MB, free: 9.898 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.0001757/0.1822, allocations: 107.2 kB / 351.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.1839, allocations: 0.8867 MB / 352.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1839, allocations: 0 / 352.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.1846, allocations: 425.2 kB / 352.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.1852, allocations: 52.7 kB / 353 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1866, allocations: 0.7034 MB / 353.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.187, allocations: 0.7722 MB / 354.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.1871, allocations: 26.97 kB / 354.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.1872, allocations: 19.44 kB / 354.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1872, allocations: 4 kB / 354.5 MB, free: 6.785 MB / 302.1 MB Notification: Performance of Templates: time 0.009599/0.1968, allocations: 4.534 MB / 359 MB, free: 2.25 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)