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.001007/0.001008, allocations: 91.88 kB / 16.65 MB, free: 6.59 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.001008/0.001008, allocations: 183.4 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004686/0.0004686, allocations: 16 kB / 280.8 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 47.57 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003426/0.1248, allocations: 2.386 MB / 330.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1264, allocations: 0.7216 MB / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1265, allocations: 4 kB / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.1267, allocations: 31.7 kB / 331.5 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1269, allocations: 75.44 kB / 331.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1272, allocations: 79.88 kB / 331.6 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.1277, allocations: 334.6 kB / 331.9 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.1279, allocations: 65.17 kB / 332 MB, free: 44 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1281, allocations: 115.6 kB / 332.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1283, allocations: 139.3 kB / 332.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.1284, allocations: 12 kB / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.1284, allocations: 16 kB / 332.3 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.1285, allocations: 47.77 kB / 332.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1287, allocations: 157 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.129, allocations: 299 kB / 332.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.129, allocations: 4 kB / 332.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.129, allocations: 0 / 332.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1291, allocations: 4 kB / 332.8 MB, free: 15.26 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.001352/0.1304, allocations: 0.6107 MB / 333.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1305, allocations: 8.031 kB / 333.4 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.1306, allocations: 36.55 kB / 333.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.131, allocations: 267.6 kB / 333.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.131, allocations: 16.81 kB / 333.7 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.1311, allocations: 24.38 kB / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.1317, allocations: 259.5 kB / 334 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1317, allocations: 4 kB / 334 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.1318, allocations: 12 kB / 334 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1318, allocations: 4 kB / 334 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.1326, allocations: 289.5 kB / 334.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1342, allocations: 0.897 MB / 335.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/0.135, allocations: 270.5 kB / 335.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1353, allocations: 112.8 kB / 335.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.1354, allocations: 4 kB / 335.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.136, allocations: 189.8 kB / 335.8 MB, free: 12.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.1361, allocations: 0 / 335.8 MB, free: 12.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002188/0.1383, allocations: 0.7176 MB / 336.5 MB, free: 11.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.1384, allocations: 106.8 kB / 336.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.1387, allocations: 266.6 kB / 336.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1387, allocations: 25.7 kB / 336.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1388, allocations: 179.8 kB / 337 MB, free: 10.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.1389, allocations: 47.36 kB / 337.1 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.1389, allocations: 17.72 kB / 337.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1391, allocations: 338.8 kB / 337.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.1394, allocations: 107.9 kB / 337.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.1398, allocations: 193.2 kB / 337.7 MB, free: 9.984 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.1405, allocations: 300 kB / 338 MB, free: 9.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1405, allocations: 4 kB / 338 MB, free: 9.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001161/0.1417, allocations: 483.6 kB / 338.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1418, allocations: 181.5 kB / 338.7 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1418, allocations: 3.984 kB / 338.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004778/0.1423, allocations: 140.7 kB / 338.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1425, allocations: 51.97 kB / 338.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.1448, allocations: 1.822 MB / 340.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.1452, allocations: 55.81 kB / 340.7 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.1452, allocations: 12 kB / 340.8 MB, free: 6.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.1452, allocations: 4 kB / 340.8 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007476/0.146, allocations: 337.3 kB / 341.1 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.146, allocations: 4.031 kB / 341.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.1461, allocations: 40.83 kB / 341.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1463, allocations: 43.97 kB / 341.2 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.1475, allocations: 1.538 MB / 342.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1478, allocations: 51.91 kB / 342.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1478, allocations: 4 kB / 342.8 MB, free: 4.574 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.000187/0.148, allocations: 217.1 kB / 343 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1481, allocations: 23.72 kB / 343 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.1481, allocations: 29.77 kB / 343 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1481, allocations: 3.984 kB / 343 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1481, allocations: 4 kB / 343 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1482, allocations: 7.938 kB / 343 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.1485, allocations: 285.5 kB / 343.3 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1485, allocations: 0 / 343.3 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1487, allocations: 27.97 kB / 343.4 MB, free: 3.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.1489, allocations: 84.73 kB / 343.4 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1489, allocations: 4.125 kB / 343.4 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.1509, allocations: 1.736 MB / 345.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.151, allocations: 8.016 kB / 345.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.1519, allocations: 369.4 kB / 345.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.152, allocations: 108.8 kB / 345.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.152, allocations: 4 kB / 345.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.1523, allocations: 39.91 kB / 345.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.1524, allocations: 19.97 kB / 345.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1524, allocations: 4 kB / 345.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.1527, allocations: 194 kB / 345.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1527, allocations: 0 / 345.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005988/0.1534, allocations: 123.8 kB / 346 MB, free: 1.074 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.0002324/0.1536, allocations: 107.8 kB / 346.1 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.1553, allocations: 0.7892 MB / 346.9 MB, free: 124 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1554, allocations: 0 / 346.9 MB, free: 124 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.1559, allocations: 259 kB / 347.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1563, allocations: 48.47 kB / 347.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.1588, allocations: 0.9122 MB / 348.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.1593, allocations: 0.7483 MB / 348.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.1595, allocations: 30.27 kB / 348.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.1596, allocations: 15.44 kB / 348.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1596, allocations: 0 / 348.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Templates: time 0.009401/0.169, allocations: 3.856 MB / 352.8 MB, free: 10.2 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)