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.006011/0.006011, allocations: 96.75 kB / 15.73 MB, free: 6.031 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.00124/0.00124, allocations: 191.7 kB / 16.67 MB, free: 5.961 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.722/1.722, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001187/0.001187, allocations: 42.16 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.007364/0.1422, allocations: 2.742 MB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1444, allocations: 0.6823 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.1447, allocations: 7.938 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.145, allocations: 43.56 kB / 376.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1453, allocations: 95.19 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1457, allocations: 95.77 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.1463, allocations: 394.3 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.1467, allocations: 118.9 kB / 377.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.147, allocations: 147.5 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.1474, allocations: 163.3 kB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.1475, allocations: 36 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/0.1476, allocations: 36 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1477, allocations: 63.77 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.148, allocations: 175.2 kB / 378 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.1487, allocations: 366.6 kB / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1487, allocations: 0 / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.929e-06/0.1488, allocations: 8 kB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1488, 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.001859/0.1506, allocations: 0.6611 MB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.1507, allocations: 8.031 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.1509, allocations: 36.7 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.1515, allocations: 272.8 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.1516, allocations: 24.92 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.1516, allocations: 20.38 kB / 379.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/0.1526, allocations: 303.7 kB / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.1526, allocations: 0 / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1527, allocations: 12 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1527, allocations: 4 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1538, allocations: 257.5 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.1565, allocations: 1.09 MB / 381 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.1577, allocations: 210.5 kB / 381.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.1581, allocations: 96.72 kB / 381.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.1582, allocations: 4 kB / 381.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007108/0.1589, allocations: 169.8 kB / 381.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 3.707e-06/0.1589, allocations: 0 / 381.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002977/0.1619, allocations: 0.5107 MB / 382 MB, free: 8.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.1621, allocations: 102.8 kB / 382.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.1626, allocations: 282.7 kB / 382.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.1626, allocations: 37.62 kB / 382.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.1629, allocations: 203.9 kB / 382.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.163, allocations: 43.64 kB / 382.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1632, allocations: 49.94 kB / 382.7 MB, free: 7.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002695/0.1634, allocations: 334.8 kB / 383 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.1639, allocations: 96.16 kB / 383.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.1644, allocations: 202 kB / 383.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.1654, allocations: 313.3 kB / 383.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.1654, allocations: 3.938 kB / 383.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001682/0.1671, allocations: 423.7 kB / 384 MB, free: 6.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/0.1672, allocations: 34.98 kB / 384 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.1673, allocations: 8 kB / 384.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.1679, allocations: 72.73 kB / 384.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.1682, allocations: 47.91 kB / 384.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.1717, allocations: 1.719 MB / 385.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.1722, allocations: 55.7 kB / 385.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.1722, allocations: 12.06 kB / 386 MB, free: 3.914 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.0002072/0.1724, allocations: 145.7 kB / 386.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.1725, allocations: 23.86 kB / 386.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.1726, allocations: 29.7 kB / 386.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1726, allocations: 0 / 386.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.1726, allocations: 0 / 386.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1726, allocations: 3.984 kB / 386.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.173, allocations: 305.4 kB / 386.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.173, allocations: 3.938 kB / 386.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1731, allocations: 23.97 kB / 386.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.1734, allocations: 68.8 kB / 386.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1735, allocations: 0 / 386.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.176, allocations: 1.708 MB / 388.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.176, allocations: 0 / 388.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.177, allocations: 309.5 kB / 388.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.1773, allocations: 124.8 kB / 388.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.1773, allocations: 8 kB / 388.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1776, allocations: 31.95 kB / 388.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.1777, allocations: 23.97 kB / 388.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1777, allocations: 0 / 388.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.178, allocations: 205.9 kB / 388.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.178, allocations: 0 / 388.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000467/0.1785, allocations: 79.89 kB / 389 MB, free: 0.6055 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.0001681/0.1786, allocations: 115.1 kB / 389.1 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1798, allocations: 414.5 kB / 389.5 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1798, allocations: 0 / 389.5 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.1803, allocations: 226.6 kB / 389.8 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.0003301/0.1807, allocations: 41.28 kB / 389.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1818, allocations: 459.6 kB / 390.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1822, allocations: 0.7518 MB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1824, allocations: 26.3 kB / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1824, allocations: 27.42 kB / 391.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1824, allocations: 4 kB / 391.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Templates: time 0.009772/0.1922, allocations: 4.206 MB / 395.3 MB, free: 10.25 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)