Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.009631/0.009631, allocations: 98.2 kB / 15.73 MB, free: 6.445 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.001666/0.001666, allocations: 193.8 kB / 16.67 MB, free: 6.348 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.116/2.116, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.001442/0.001442, allocations: 50.02 kB / 326.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005247/0.1342, allocations: 2.913 MB / 376.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.136, allocations: 0.7759 MB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.1365, allocations: 11.94 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1368, allocations: 59.42 kB / 377 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.1373, allocations: 103.2 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.1377, allocations: 119.8 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.1383, allocations: 414.1 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.1386, allocations: 135.3 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1389, allocations: 151.4 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.1392, allocations: 175.2 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.1393, allocations: 32 kB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.1394, allocations: 36 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.1395, allocations: 75.7 kB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.1397, allocations: 171.1 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.1402, allocations: 386.2 kB / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1402, allocations: 4 kB / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1402, allocations: 0 / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1403, allocations: 0 / 378.7 MB, free: 11.75 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.001335/0.1416, allocations: 0.6468 MB / 379.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1416, allocations: 8.031 kB / 379.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1418, allocations: 44.7 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.1424, allocations: 291.5 kB / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1424, allocations: 21.03 kB / 379.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.1425, allocations: 32.38 kB / 379.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.1432, allocations: 306.4 kB / 380.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1432, allocations: 3.938 kB / 380.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.1432, allocations: 16 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1432, allocations: 8 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.144, allocations: 294.5 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.146, allocations: 1.084 MB / 381.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.147, allocations: 286.8 kB / 381.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.1475, allocations: 180.7 kB / 381.9 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1476, allocations: 4 kB / 381.9 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.1476, allocations: 38.56 kB / 382 MB, free: 8.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/0.1477, allocations: 0 / 382 MB, free: 8.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002801/0.1505, allocations: 0.8214 MB / 382.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1505, allocations: 59.33 kB / 382.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1509, allocations: 274.6 kB / 383.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1509, allocations: 33.7 kB / 383.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1511, allocations: 200.3 kB / 383.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.1512, allocations: 71.38 kB / 383.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.1513, allocations: 57.66 kB / 383.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1515, allocations: 338.8 kB / 383.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1517, allocations: 100.8 kB / 383.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.1521, allocations: 175.1 kB / 384.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.1526, allocations: 286.8 kB / 384.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1527, allocations: 4 kB / 384.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001342/0.154, allocations: 0.5027 MB / 384.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.154, allocations: 4 kB / 384.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1541, allocations: 4 kB / 384.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.1546, allocations: 125.6 kB / 385 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1548, allocations: 51.86 kB / 385 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.1598, allocations: 3.67 MB / 388.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.1601, allocations: 43.7 kB / 388.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1601, allocations: 16 kB / 388.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002122/0.1604, allocations: 156.1 kB / 388.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001956/0.1606, allocations: 159.5 kB / 389.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002874/0.1609, allocations: 231 kB / 389.3 MB, free: 432 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.1609, allocations: 0 / 389.3 MB, free: 432 kB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0005003/0.1614, allocations: 314.7 kB / 389.6 MB, free: 104 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1614, allocations: 7.906 kB / 389.6 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1614, allocations: 4 kB / 389.6 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.1616, allocations: 58.19 kB / 389.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.1618, allocations: 59.92 kB / 389.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.1641, allocations: 2.963 MB / 392.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1643, allocations: 23.91 kB / 392.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1643, 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.0001616/0.1645, allocations: 200.1 kB / 392.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-05/0.1646, allocations: 35.78 kB / 393 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.1646, allocations: 30.25 kB / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1646, allocations: 4 kB / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1646, allocations: 0 / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1647, allocations: 7.922 kB / 393 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.1662, allocations: 0.7808 MB / 393.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1662, allocations: 0 / 393.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.1664, allocations: 27.92 kB / 393.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/0.1668, allocations: 129.6 kB / 393.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1668, allocations: 4 kB / 393.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/0.1715, allocations: 3.623 MB / 397.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1715, allocations: 0 / 397.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1728, allocations: 0.5671 MB / 398.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1729, allocations: 101 kB / 398.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.173, allocations: 4 kB / 398.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.1732, allocations: 28.05 kB / 398.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.1733, allocations: 27.84 kB / 398.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1733, allocations: 4 kB / 398.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1735, allocations: 194 kB / 398.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1735, allocations: 0 / 398.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007444/0.1743, allocations: 159.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.0001813/0.1745, allocations: 115.2 kB / 398.7 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.1762, allocations: 0.8856 MB / 399.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1762, allocations: 0 / 399.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.177, allocations: 425.7 kB / 400 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.1775, allocations: 48.45 kB / 400.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1788, allocations: 0.5874 MB / 400.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1792, allocations: 0.7684 MB / 401.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1793, allocations: 26.97 kB / 401.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.1794, allocations: 19.44 kB / 401.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1794, allocations: 0 / 401.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of Templates: time 0.01079/0.1902, allocations: 4.714 MB / 406.2 MB, free: 14.66 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1)