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.001172/0.001172, allocations: 97.3 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.001265/0.001265, allocations: 185.5 kB / 17.19 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.641/1.641, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0005439/0.0005439, allocations: 8 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1391, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003264/0.1425, allocations: 2.194 MB / 329.9 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.144, allocations: 0.6987 MB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.1442, allocations: 7.938 kB / 330.6 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.006e-05/0.1443, allocations: 31.75 kB / 330.6 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1446, allocations: 95.72 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.145, allocations: 75.84 kB / 330.8 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.1454, allocations: 235.4 kB / 331 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1457, allocations: 69.08 kB / 331.1 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1459, allocations: 103.6 kB / 331.2 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1461, allocations: 131.4 kB / 331.3 MB, free: 448 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.1461, allocations: 16 kB / 331.3 MB, free: 432 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.1462, allocations: 16 kB / 331.4 MB, free: 416 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.1463, allocations: 47.81 kB / 331.4 MB, free: 368 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.1464, allocations: 73.58 kB / 331.5 MB, free: 288 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.1467, allocations: 227.6 kB / 331.7 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1467, allocations: 0 / 331.7 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.1467, allocations: 8 kB / 331.7 MB, free: 52 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1467, allocations: 0 / 331.7 MB, free: 52 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.001697/0.1485, allocations: 0.6067 MB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.1485, allocations: 8.031 kB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1486, allocations: 31.62 kB / 332.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.1491, allocations: 274.2 kB / 332.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.1492, allocations: 16.44 kB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.1492, allocations: 24 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.15, allocations: 259.1 kB / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.15, allocations: 4 kB / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.15, allocations: 8 kB / 332.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1501, allocations: 4 kB / 332.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.1509, allocations: 281.6 kB / 333.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.1527, allocations: 0.8893 MB / 334.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/0.1536, allocations: 270.6 kB / 334.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1536, allocations: 3.984 kB / 334.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.1542, allocations: 197.8 kB / 334.6 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.1542, allocations: 0 / 334.6 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002395/0.1566, allocations: 0.7061 MB / 335.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.1567, allocations: 110.8 kB / 335.4 MB, free: 12.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.157, allocations: 262.5 kB / 335.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.1571, allocations: 29.7 kB / 335.7 MB, free: 11.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1572, allocations: 183.8 kB / 335.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.1573, allocations: 39.45 kB / 335.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.1573, allocations: 4 kB / 335.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1575, allocations: 334.8 kB / 336.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.1578, allocations: 107.9 kB / 336.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.1582, allocations: 185.4 kB / 336.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.1586, allocations: 149.5 kB / 336.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1586, allocations: 0 / 336.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001162/0.1598, allocations: 482.9 kB / 337.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000471/0.1603, allocations: 0.8151 MB / 337.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.1603, allocations: 3.938 kB / 337.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.1607, allocations: 76.81 kB / 338 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1609, allocations: 51.89 kB / 338.1 MB, free: 9.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.164, allocations: 1.85 MB / 339.9 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.1645, allocations: 59.75 kB / 340 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1645, allocations: 15.98 kB / 340 MB, free: 7.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1645, allocations: 4 kB / 340 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000872/0.1654, allocations: 326 kB / 340.3 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1655, allocations: 4.25 kB / 340.3 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.1656, allocations: 44.83 kB / 340.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1658, allocations: 51.91 kB / 340.4 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.1675, allocations: 1.546 MB / 341.9 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.1679, allocations: 47.88 kB / 342 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1679, allocations: 8 kB / 342 MB, free: 5.062 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 ($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 (20): * Single equations (assignments): 18 * 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.0003477/0.1683, allocations: 232.4 kB / 342.2 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.1683, allocations: 19.72 kB / 342.2 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.763e-05/0.1684, allocations: 25.83 kB / 342.3 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1684, allocations: 0 / 342.3 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1685, allocations: 0 / 342.3 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1685, allocations: 4 kB / 342.3 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.1689, allocations: 297.4 kB / 342.6 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1689, allocations: 0 / 342.6 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.169, allocations: 27.97 kB / 342.6 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.1693, allocations: 76.8 kB / 342.7 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.1693, allocations: 7.984 kB / 342.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.1716, allocations: 1.764 MB / 344.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1716, allocations: 8.016 kB / 344.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.1726, allocations: 369.4 kB / 344.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.1727, allocations: 100.8 kB / 344.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1727, allocations: 4 kB / 344.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.173, allocations: 35.97 kB / 344.9 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1731, allocations: 23.97 kB / 345 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1731, allocations: 7.984 kB / 345 MB, free: 1.852 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.1733, allocations: 186 kB / 345.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1733, allocations: 0 / 345.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.174, allocations: 127.7 kB / 345.3 MB, free: 1.543 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.0002594/0.1742, allocations: 107.2 kB / 345.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.1762, allocations: 0.8 MB / 346.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1762, allocations: 0 / 346.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.1768, allocations: 251.6 kB / 346.4 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1772, allocations: 44.5 kB / 346.5 MB, free: 288 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1795, allocations: 0.8848 MB / 347.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.18, allocations: 0.7599 MB / 348.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1801, allocations: 26.28 kB / 348.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.1802, allocations: 15.44 kB / 348.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1802, allocations: 0 / 348.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Templates: time 0.009072/0.1893, allocations: 3.727 MB / 351.9 MB, free: 10.82 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: