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.006997/0.006998, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.00127/0.001271, allocations: 186.3 kB / 16.67 MB, free: 5.938 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.15/2.15, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.00147/0.001471, allocations: 54.95 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1682, allocations: 46.61 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.007872/0.1761, allocations: 2.928 MB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.1791, allocations: 0.7681 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.1796, allocations: 7.938 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.18, allocations: 59.42 kB / 377 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006326/0.1807, allocations: 103.2 kB / 377.1 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.1814, allocations: 123.8 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009335/0.1823, allocations: 406.1 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.1828, allocations: 139.3 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.1832, allocations: 151.4 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.1838, allocations: 171.2 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.1839, allocations: 32 kB / 378.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1841, allocations: 39.94 kB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1842, allocations: 71.77 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.1846, allocations: 175.1 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.1853, allocations: 382.3 kB / 378.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1854, allocations: 4 kB / 378.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1854, allocations: 4 kB / 378.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.739e-05/0.1854, 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.002061/0.1875, allocations: 0.6429 MB / 379.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/0.1876, allocations: 8.031 kB / 379.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.1878, allocations: 44.7 kB / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000849/0.1887, allocations: 291.5 kB / 379.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.1887, allocations: 21.03 kB / 379.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-05/0.1888, allocations: 36.38 kB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.19, allocations: 306.3 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.19, allocations: 0 / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.1901, allocations: 16 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1901, allocations: 8 kB / 380.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1912, allocations: 294.5 kB / 380.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.1942, allocations: 1.088 MB / 381.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.1956, allocations: 287.9 kB / 381.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.1964, allocations: 176.7 kB / 381.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.1964, allocations: 0 / 381.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.1965, allocations: 34.56 kB / 381.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.484e-06/0.1965, allocations: 3.938 kB / 382 MB, free: 8.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.004018/0.2006, allocations: 0.8293 MB / 382.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.2007, allocations: 59.33 kB / 382.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.2011, allocations: 266.7 kB / 383.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.2012, allocations: 33.7 kB / 383.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.2014, allocations: 200.3 kB / 383.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.2015, allocations: 71.38 kB / 383.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.2017, allocations: 61.66 kB / 383.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2019, allocations: 338.8 kB / 383.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.2022, allocations: 96.8 kB / 383.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.2027, allocations: 179.1 kB / 384.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.2036, allocations: 286.8 kB / 384.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.2036, allocations: 4 kB / 384.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00238/0.206, allocations: 0.5066 MB / 384.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.206, allocations: 4 kB / 384.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.2061, allocations: 4 kB / 384.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009742/0.2071, allocations: 125.6 kB / 385 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.2074, allocations: 51.86 kB / 385 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008326/0.2158, allocations: 3.67 MB / 388.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.2164, allocations: 35.78 kB / 388.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.2165, allocations: 19.98 kB / 388.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000403/0.2169, allocations: 160.1 kB / 388.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003578/0.2173, allocations: 155.5 kB / 389.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006043/0.2179, allocations: 235 kB / 389.3 MB, free: 416 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.2179, allocations: 0 / 389.3 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.001059/0.219, allocations: 315 kB / 389.6 MB, free: 88 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.219, allocations: 7.984 kB / 389.6 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.2191, allocations: 4 kB / 389.6 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.2194, allocations: 49.69 kB / 389.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.2199, allocations: 59.92 kB / 389.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.2228, allocations: 2.967 MB / 392.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.223, allocations: 19.84 kB / 392.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2231, allocations: 12 kB / 392.7 MB, free: 12.69 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.0002731/0.2234, allocations: 208.1 kB / 392.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.2235, allocations: 31.78 kB / 392.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.2235, allocations: 26.19 kB / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2235, allocations: 3.938 kB / 393 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2236, allocations: 4 kB / 393 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2236, allocations: 3.984 kB / 393 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.2253, allocations: 0.7848 MB / 393.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2253, allocations: 0 / 393.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2254, allocations: 27.92 kB / 393.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.2259, allocations: 125.6 kB / 393.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2259, allocations: 11.98 kB / 393.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004513/0.2304, allocations: 3.619 MB / 397.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2304, allocations: 4.062 kB / 397.6 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.2318, allocations: 0.567 MB / 398.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2319, allocations: 101 kB / 398.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.2319, allocations: 4 kB / 398.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2322, allocations: 23.98 kB / 398.2 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.2323, allocations: 27.84 kB / 398.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2323, allocations: 4 kB / 398.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.2325, allocations: 198 kB / 398.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2325, allocations: 0 / 398.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008148/0.2334, allocations: 159.7 kB / 398.6 MB, free: 6.375 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.0001905/0.2336, allocations: 107.2 kB / 398.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.2357, allocations: 0.8809 MB / 399.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2358, allocations: 5.375 kB / 399.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009176/0.2367, allocations: 425.1 kB / 400 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.2373, allocations: 52.56 kB / 400.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.2391, allocations: 0.5826 MB / 400.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.2398, allocations: 0.7684 MB / 401.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.2401, allocations: 42.89 kB / 401.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.2402, allocations: 19.44 kB / 401.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2402, allocations: 0 / 401.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of Templates: time 0.01317/0.2534, allocations: 4.707 MB / 406.2 MB, free: 14.65 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)