Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008155/0.008155, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001326/0.001326, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.773/1.773, allocations: 205.1 MB / 222.6 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.001415/0.001415, allocations: 58.55 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1492, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004649/0.1539, allocations: 2.738 MB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1554, allocations: 0.6861 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1556, allocations: 4 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1559, allocations: 47.5 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.1562, allocations: 95.17 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1565, allocations: 83.89 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.1571, allocations: 382.3 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.1574, allocations: 122.9 kB / 377.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1576, allocations: 159.3 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1578, allocations: 159.4 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-05/0.1579, allocations: 32 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.158, allocations: 36 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.1581, allocations: 75.7 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1583, allocations: 163.2 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.1588, allocations: 378.7 kB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1588, allocations: 0 / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1588, allocations: 0 / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1588, allocations: 0 / 378.3 MB, free: 12.14 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.001563/0.1604, allocations: 0.6497 MB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1604, allocations: 8.031 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1605, allocations: 40.56 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.161, allocations: 268.8 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.1611, allocations: 24.92 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.1611, allocations: 24.38 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.1619, allocations: 307.6 kB / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1619, allocations: 4 kB / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.1619, allocations: 4 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.162, allocations: 8 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007975/0.1628, allocations: 245.6 kB / 379.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.1646, allocations: 1.097 MB / 381 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.1655, allocations: 210.6 kB / 381.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.1658, allocations: 92.78 kB / 381.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.1658, allocations: 0 / 381.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/0.1663, allocations: 169.8 kB / 381.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1663, allocations: 4 kB / 381.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002222/0.1686, allocations: 0.5066 MB / 381.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1687, allocations: 110.8 kB / 382.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.1691, allocations: 282.6 kB / 382.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.1691, allocations: 33.64 kB / 382.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1693, allocations: 195.5 kB / 382.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.1693, allocations: 43.53 kB / 382.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/0.1695, allocations: 49.84 kB / 382.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002704/0.1697, allocations: 338.8 kB / 383 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.1701, allocations: 92.16 kB / 383.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.1706, allocations: 202.1 kB / 383.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.1715, allocations: 301.4 kB / 383.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1716, 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.001239/0.1728, allocations: 431.6 kB / 384 MB, free: 6.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.1729, allocations: 33.64 kB / 384 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1729, allocations: 4 kB / 384 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.1733, allocations: 80.83 kB / 384.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1735, allocations: 47.91 kB / 384.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.1761, allocations: 1.715 MB / 385.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1765, allocations: 51.66 kB / 385.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.1765, allocations: 16 kB / 385.9 MB, free: 3.93 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.0001585/0.1767, allocations: 149.8 kB / 386.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.1767, allocations: 23.72 kB / 386.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.1768, allocations: 21.7 kB / 386.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1768, allocations: 4 kB / 386.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1768, allocations: 0 / 386.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1768, allocations: 3.984 kB / 386.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.1771, allocations: 297.4 kB / 386.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1771, allocations: 0 / 386.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1773, allocations: 23.97 kB / 386.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.1775, allocations: 68.8 kB / 386.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1775, allocations: 0 / 386.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.1799, allocations: 1.715 MB / 388.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.18, allocations: 0 / 388.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.181, allocations: 317.8 kB / 388.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1811, allocations: 116.7 kB / 388.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1812, allocations: 4 kB / 388.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1814, allocations: 35.95 kB / 388.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.1816, allocations: 19.97 kB / 388.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1816, allocations: 8 kB / 388.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1818, allocations: 205.9 kB / 388.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 388.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.1822, allocations: 71.91 kB / 389 MB, free: 0.6289 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.0001607/0.1824, allocations: 103.2 kB / 389.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1834, allocations: 414.2 kB / 389.5 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1834, allocations: 4.25 kB / 389.5 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.1839, allocations: 234.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.0003007/0.1842, allocations: 41 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.0009957/0.1853, allocations: 456.1 kB / 390.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.1857, allocations: 0.7557 MB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.771e-05/0.1858, allocations: 26.28 kB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.1858, allocations: 23.42 kB / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1858, allocations: 0 / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.008573/0.1944, allocations: 4.218 MB / 395.2 MB, free: 10.27 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)