Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009193/0.009193, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001622/0.001622, allocations: 195.3 kB / 16.67 MB, free: 5.52 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.884/1.884, allocations: 205.1 MB / 222.5 MB, free: 4.176 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.001739/0.001739, allocations: 50.73 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1582, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004371/0.1626, allocations: 2.742 MB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1643, allocations: 0.6861 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.1645, allocations: 8 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1647, allocations: 47.5 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.1649, allocations: 91.19 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1653, allocations: 91.81 kB / 376.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.1657, allocations: 382.4 kB / 377.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.166, allocations: 122.9 kB / 377.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1662, allocations: 147.4 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1665, allocations: 163.4 kB / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.1665, allocations: 32 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.1666, allocations: 36 kB / 377.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.1667, allocations: 75.69 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1669, allocations: 171.2 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.1674, allocations: 370.8 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1674, allocations: 4 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1674, allocations: 0 / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1674, allocations: 0 / 378.3 MB, free: 12.11 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001454/0.1689, allocations: 0.6497 MB / 379 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.169, allocations: 8.031 kB / 379 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.176e-05/0.1691, allocations: 32.56 kB / 379 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.1696, allocations: 268.8 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.1696, allocations: 28.92 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.1697, allocations: 28.31 kB / 379.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.1704, allocations: 303.7 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1705, allocations: 4 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.1705, allocations: 8 kB / 379.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1705, allocations: 8 kB / 379.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.1713, allocations: 253.5 kB / 379.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.1732, allocations: 1.089 MB / 381 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.174, allocations: 206.5 kB / 381.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.1744, allocations: 92.78 kB / 381.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1744, allocations: 4 kB / 381.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005602/0.175, allocations: 173.8 kB / 381.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.635e-06/0.175, allocations: 0 / 381.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.00241/0.1774, allocations: 0.5067 MB / 381.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1776, allocations: 106.8 kB / 382.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.178, allocations: 282.6 kB / 382.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.1781, allocations: 33.64 kB / 382.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.1783, allocations: 211.4 kB / 382.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.1784, allocations: 35.55 kB / 382.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.1785, allocations: 53.84 kB / 382.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1787, allocations: 334.8 kB / 383 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.179, allocations: 92.16 kB / 383.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.1794, allocations: 198.1 kB / 383.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.1802, allocations: 309.4 kB / 383.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.1802, allocations: 3.938 kB / 383.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00131/0.1815, allocations: 427.7 kB / 384 MB, free: 6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.1816, allocations: 33.73 kB / 384 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.1816, allocations: 4 kB / 384 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.182, allocations: 72.73 kB / 384.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.1823, allocations: 51.91 kB / 384.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.185, allocations: 1.711 MB / 385.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.1854, allocations: 51.66 kB / 385.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.1854, allocations: 20.06 kB / 385.9 MB, free: 3.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.1856, allocations: 153.6 kB / 386.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.1857, allocations: 19.72 kB / 386.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.1858, allocations: 25.7 kB / 386.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1858, allocations: 0 / 386.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1858, allocations: 4 kB / 386.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1858, allocations: 3.984 kB / 386.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.1862, allocations: 297.4 kB / 386.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1862, allocations: 4 kB / 386.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1864, allocations: 19.97 kB / 386.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.1867, allocations: 72.73 kB / 386.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1867, allocations: 0 / 386.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/0.1891, allocations: 1.711 MB / 388.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1891, allocations: 0 / 388.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1902, allocations: 313.8 kB / 388.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1904, allocations: 116.7 kB / 388.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.1905, allocations: 4 kB / 388.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1907, allocations: 35.95 kB / 388.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1909, allocations: 19.97 kB / 388.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1909, allocations: 8 kB / 388.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.1911, allocations: 205.8 kB / 388.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1912, allocations: 0 / 388.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.1916, allocations: 71.91 kB / 389 MB, free: 0.6094 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.1918, allocations: 111.2 kB / 389.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.193, allocations: 417.8 kB / 389.5 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.193, allocations: 0 / 389.5 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.1936, allocations: 226.5 kB / 389.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.194, allocations: 53.52 kB / 389.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1954, allocations: 464 kB / 390.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.196, allocations: 0.7518 MB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1962, allocations: 22.3 kB / 391 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.1963, allocations: 27.42 kB / 391 MB, free: 14.46 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1963, allocations: 0 / 391 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Templates: time 0.012/0.2083, allocations: 4.203 MB / 395.2 MB, free: 10.25 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)