Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 104.7 kB / 16.62 MB, free: 6.809 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.001484/0.001484, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.932/1.932, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001227/0.001227, allocations: 51.94 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1305, allocations: 46.63 MB / 326.2 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005536/0.1362, allocations: 2.745 MB / 328.9 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.1379, allocations: 0.7176 MB / 329.6 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.1382, allocations: 4 kB / 329.6 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.1384, allocations: 27.77 kB / 329.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.1386, allocations: 79.39 kB / 329.7 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1389, allocations: 87.91 kB / 329.8 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.1393, allocations: 346.6 kB / 330.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1395, allocations: 80.7 kB / 330.2 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1397, allocations: 135.4 kB / 330.4 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1399, allocations: 147.4 kB / 330.5 MB, free: 412 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.14, allocations: 28 kB / 330.5 MB, free: 384 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.759e-05/0.1401, allocations: 28 kB / 330.6 MB, free: 356 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.1401, allocations: 75.67 kB / 330.6 MB, free: 280 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.1403, allocations: 147.3 kB / 330.8 MB, free: 132 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.1407, allocations: 315.2 kB / 331.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1408, allocations: 0 / 331.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1408, allocations: 0 / 331.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1408, allocations: 0 / 331.1 MB, free: 15.82 MB / 286.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.001411/0.1422, allocations: 0.6418 MB / 331.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1422, allocations: 8.031 kB / 331.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.554e-05/0.1423, allocations: 32.66 kB / 331.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.1429, allocations: 283.3 kB / 332 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1429, allocations: 16.81 kB / 332.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.143, allocations: 20.38 kB / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.1436, allocations: 247.5 kB / 332.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1437, allocations: 0 / 332.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1437, allocations: 8 kB / 332.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1437, allocations: 8 kB / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.1445, allocations: 249.6 kB / 332.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1461, allocations: 0.8697 MB / 333.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.1469, allocations: 230.5 kB / 333.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.1472, allocations: 104.8 kB / 333.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.1472, allocations: 0 / 333.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006633/0.1479, allocations: 169.8 kB / 333.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 4.619e-06/0.1479, allocations: 4 kB / 333.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002036/0.15, allocations: 0.5886 MB / 334.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.15, allocations: 106.8 kB / 334.6 MB, free: 12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.1504, allocations: 270.6 kB / 334.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1504, allocations: 29.7 kB / 334.9 MB, free: 11.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1506, allocations: 183.8 kB / 335.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1506, allocations: 39.36 kB / 335.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.837e-05/0.1507, allocations: 49.7 kB / 335.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1509, allocations: 334.8 kB / 335.5 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.1512, allocations: 100.8 kB / 335.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.1515, allocations: 165.4 kB / 335.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.1522, allocations: 272.3 kB / 336.1 MB, free: 10.49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1522, allocations: 0 / 336.1 MB, free: 10.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001076/0.1533, allocations: 435.5 kB / 336.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.1533, allocations: 37.69 kB / 336.5 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1533, allocations: 4 kB / 336.5 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.1539, allocations: 104.8 kB / 336.6 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1541, allocations: 47.89 kB / 336.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.157, allocations: 1.923 MB / 338.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.1575, allocations: 51.8 kB / 338.6 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1575, allocations: 8 kB / 338.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003611/0.1579, allocations: 180.1 kB / 338.8 MB, free: 7.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003569/0.1582, allocations: 165.7 kB / 339 MB, free: 7.348 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000591/0.1588, allocations: 248.9 kB / 339.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.1589, allocations: 0 / 339.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008116/0.1597, allocations: 351.4 kB / 339.6 MB, free: 6.715 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.1597, allocations: 33.7 kB / 339.6 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1597, allocations: 8 kB / 339.6 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.16, allocations: 49.08 kB / 339.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1602, allocations: 43.84 kB / 339.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.1618, allocations: 1.717 MB / 341.4 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.1621, allocations: 47.88 kB / 341.5 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1622, allocations: 11.98 kB / 341.5 MB, free: 4.664 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0002115/0.1624, allocations: 200.1 kB / 341.7 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.1624, allocations: 23.72 kB / 341.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.1625, allocations: 25.83 kB / 341.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1625, allocations: 4 kB / 341.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1625, allocations: 0 / 341.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1625, allocations: 8.125 kB / 341.7 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.1629, allocations: 297.3 kB / 342 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1629, allocations: 4 kB / 342 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.163, allocations: 19.97 kB / 342 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.1633, allocations: 68.75 kB / 342.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1633, allocations: 3.984 kB / 342.1 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.1654, allocations: 1.869 MB / 344 MB, free: 1.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1655, allocations: 192 / 344 MB, free: 1.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/0.1663, allocations: 330 kB / 344.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.1664, allocations: 100.8 kB / 344.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.1664, allocations: 11.94 kB / 344.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1667, allocations: 31.97 kB / 344.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.1668, allocations: 19.97 kB / 344.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1668, allocations: 4 kB / 344.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.167, allocations: 190 kB / 344.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.167, allocations: 0 / 344.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007262/0.1677, allocations: 127.7 kB / 344.8 MB, free: 1.113 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 (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.0002481/0.168, allocations: 107.2 kB / 344.9 MB, free: 1 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.1699, allocations: 0.7344 MB / 345.6 MB, free: 220 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.1699, allocations: 4 kB / 345.6 MB, free: 216 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.1704, allocations: 235.3 kB / 345.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.1708, allocations: 44.47 kB / 345.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1731, allocations: 0.7807 MB / 346.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.1735, allocations: 0.7483 MB / 347.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.1737, allocations: 26.28 kB / 347.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.1738, allocations: 19.44 kB / 347.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1738, allocations: 3.938 kB / 347.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Templates: time 0.009309/0.1831, allocations: 4.129 MB / 351.6 MB, free: 10.17 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)