Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.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.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 89.31 kB / 16.3 MB, free: 5.656 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.001012/0.001012, allocations: 187 kB / 17.2 MB, free: 5.59 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.651/1.651, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.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.0006725/0.0006725, allocations: 15.94 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1518, allocations: 47.57 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003283/0.1551, allocations: 2.198 MB / 329.9 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1563, allocations: 0.6988 MB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1565, allocations: 7.938 kB / 330.6 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.041e-05/0.1566, allocations: 27.77 kB / 330.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1568, allocations: 107.7 kB / 330.7 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1571, allocations: 59.86 kB / 330.8 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1574, allocations: 231.5 kB / 331 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.1576, allocations: 69.08 kB / 331.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1578, allocations: 111.5 kB / 331.2 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.158, allocations: 131.4 kB / 331.3 MB, free: 452 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.158, allocations: 16 kB / 331.3 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-05/0.1581, allocations: 16 kB / 331.4 MB, free: 420 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1581, allocations: 47.81 kB / 331.4 MB, free: 372 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.1582, allocations: 73.58 kB / 331.5 MB, free: 292 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1585, allocations: 231.6 kB / 331.7 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1585, allocations: 0 / 331.7 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1585, allocations: 0 / 331.7 MB, free: 60 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1585, allocations: 0 / 331.7 MB, free: 60 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00139/0.1599, allocations: 0.6106 MB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1599, allocations: 12.03 kB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1601, allocations: 31.62 kB / 332.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1605, allocations: 274.2 kB / 332.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.1605, allocations: 24.36 kB / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.1605, allocations: 16 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.1612, allocations: 259.2 kB / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1613, allocations: 0 / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.1613, allocations: 8 kB / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1613, allocations: 4 kB / 332.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.1621, allocations: 289.6 kB / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.1639, allocations: 0.8815 MB / 334.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.1647, allocations: 278.6 kB / 334.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1648, allocations: 4 kB / 334.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.1653, allocations: 189.8 kB / 334.6 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.1653, allocations: 0 / 334.6 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002142/0.1675, allocations: 0.7061 MB / 335.3 MB, free: 12.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.1676, allocations: 106.8 kB / 335.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.1679, allocations: 257 kB / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.168, allocations: 29.7 kB / 335.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1681, allocations: 175.8 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1682, allocations: 43.44 kB / 335.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.1682, allocations: 12 kB / 335.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1683, allocations: 330.8 kB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1686, allocations: 111.9 kB / 336.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.169, allocations: 163.6 kB / 336.5 MB, free: 10.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.1693, allocations: 145.6 kB / 336.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1694, allocations: 0 / 336.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001161/0.1705, allocations: 463.6 kB / 337.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.1709, allocations: 0.6484 MB / 337.7 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1709, allocations: 0 / 337.7 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.1713, allocations: 76.75 kB / 337.8 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1715, allocations: 47.91 kB / 337.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.1737, allocations: 1.772 MB / 339.6 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.1741, allocations: 55.88 kB / 339.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1742, allocations: 7.938 kB / 339.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1742, allocations: 4 kB / 339.7 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008284/0.175, allocations: 326.2 kB / 340 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.1751, allocations: 4 kB / 340 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.1752, allocations: 40.78 kB / 340 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.1754, allocations: 47.92 kB / 340.1 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.1771, allocations: 1.546 MB / 341.6 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.1774, allocations: 47.88 kB / 341.7 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1775, allocations: 8 kB / 341.7 MB, free: 5.406 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.1778, allocations: 220.5 kB / 341.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.1778, allocations: 23.67 kB / 341.9 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.1779, allocations: 29.83 kB / 341.9 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1779, allocations: 0 / 341.9 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1779, allocations: 4 kB / 341.9 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.178, allocations: 4 kB / 342 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.1784, allocations: 293.4 kB / 342.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1784, allocations: 0 / 342.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.1785, allocations: 31.94 kB / 342.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.1788, allocations: 80.73 kB / 342.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1788, allocations: 4 kB / 342.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.181, allocations: 1.668 MB / 344 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.181, allocations: 64 / 344 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/0.182, allocations: 373.4 kB / 344.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.1821, allocations: 100.9 kB / 344.5 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1821, allocations: 3.984 kB / 344.5 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1824, allocations: 43.97 kB / 344.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1825, allocations: 19.97 kB / 344.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1825, allocations: 7.953 kB / 344.6 MB, free: 2.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.1828, allocations: 184.5 kB / 344.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1828, allocations: 0 / 344.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006011/0.1834, allocations: 127.7 kB / 344.9 MB, free: 1.996 MB / 286.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 (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001873/0.1836, allocations: 99.25 kB / 345 MB, free: 1.887 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.1852, allocations: 0.7267 MB / 345.7 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1852, allocations: 3.938 kB / 345.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.1857, allocations: 259.4 kB / 345.9 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.186, allocations: 40.48 kB / 346 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.187, allocations: 0.5099 MB / 346.5 MB, free: 268 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.1875, allocations: 0.7522 MB / 347.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.1876, allocations: 26.28 kB / 347.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.1877, allocations: 19.44 kB / 347.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1877, allocations: 0 / 347.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of Templates: time 0.009905/0.1976, allocations: 3.765 MB / 351.1 MB, free: 11.67 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) Environment - environmentSimulation: