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.008372/0.008372, allocations: 101 kB / 15.73 MB, free: 5.992 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.001364/0.001364, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.834/1.834, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001323/0.001323, allocations: 50.66 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1488, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00606/0.1549, allocations: 2.75 MB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1563, allocations: 0.6862 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1565, allocations: 8 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1568, allocations: 47.5 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1571, allocations: 91.2 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.1574, allocations: 79.89 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005163/0.1579, allocations: 390.3 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.1582, allocations: 126.9 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.1585, allocations: 143.4 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1587, allocations: 163.4 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.1588, allocations: 36 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.1589, allocations: 32 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.159, allocations: 75.69 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.1593, allocations: 175.2 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008232/0.1601, allocations: 370.8 kB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1601, allocations: 0 / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1601, allocations: 3.938 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.1602, allocations: 0 / 378.3 MB, free: 12.13 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.002012/0.1622, allocations: 0.6458 MB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1622, allocations: 12.03 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1624, allocations: 32.56 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.1629, allocations: 276.8 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.163, allocations: 16.94 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.163, allocations: 28.31 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.1639, allocations: 299.7 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.164, allocations: 0 / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.164, allocations: 12 kB / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.164, allocations: 8 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/0.1648, allocations: 253.5 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.1669, allocations: 1.089 MB / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.1677, allocations: 210.5 kB / 381.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.168, allocations: 84.8 kB / 381.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.168, allocations: 7.984 kB / 381.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006227/0.1686, allocations: 173.8 kB / 381.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1687, allocations: 0 / 381.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002407/0.1711, allocations: 0.5067 MB / 381.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.1712, allocations: 106.8 kB / 382 MB, free: 8.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1716, allocations: 290.5 kB / 382.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1716, allocations: 29.7 kB / 382.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.1718, allocations: 203.5 kB / 382.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1718, allocations: 31.55 kB / 382.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.172, allocations: 57.84 kB / 382.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1722, allocations: 330.8 kB / 383 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1725, allocations: 96.16 kB / 383.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.1729, allocations: 202.1 kB / 383.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.1737, allocations: 305.4 kB / 383.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.1737, allocations: 7.938 kB / 383.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001295/0.175, allocations: 423.7 kB / 384 MB, free: 6.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.1751, allocations: 33.7 kB / 384 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1751, allocations: 7.984 kB / 384 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.1755, allocations: 72.84 kB / 384.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1757, allocations: 47.91 kB / 384.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.1784, allocations: 1.719 MB / 385.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.1788, allocations: 51.66 kB / 385.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1788, allocations: 11.98 kB / 385.9 MB, free: 3.941 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.0001832/0.179, allocations: 149.7 kB / 386.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.179, allocations: 23.72 kB / 386.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.1791, allocations: 33.7 kB / 386.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1791, allocations: 0 / 386.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1791, allocations: 0 / 386.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1791, allocations: 0 / 386.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.1795, allocations: 301.4 kB / 386.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1795, allocations: 0 / 386.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1796, allocations: 15.98 kB / 386.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003282/0.1799, allocations: 80.92 kB / 386.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.18, allocations: 4 kB / 386.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.1825, allocations: 1.707 MB / 388.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1825, allocations: 3.938 kB / 388.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.1835, allocations: 313.9 kB / 388.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.1836, allocations: 120.7 kB / 388.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.1836, allocations: 0 / 388.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.1839, allocations: 27.97 kB / 388.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.184, allocations: 27.97 kB / 388.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.184, allocations: 0 / 388.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.1842, allocations: 209.9 kB / 388.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1842, allocations: 0 / 388.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.1846, allocations: 71.91 kB / 389 MB, free: 0.6367 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.0001813/0.1848, allocations: 107.2 kB / 389.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1859, allocations: 421.7 kB / 389.5 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1859, allocations: 0.8125 kB / 389.5 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006509/0.1866, allocations: 230.5 kB / 389.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1869, allocations: 44.98 kB / 389.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1882, allocations: 460 kB / 390.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.1887, allocations: 0.7519 MB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1888, allocations: 26.28 kB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.1888, allocations: 19.44 kB / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1889, allocations: 0 / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01125/0.2001, allocations: 4.222 MB / 395.2 MB, free: 10.27 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)