Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 90.66 kB / 16.3 MB, free: 6.133 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.001216/0.001216, allocations: 182.5 kB / 17.2 MB, free: 6.016 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.743/1.743, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0004745/0.0004741, allocations: 16 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 47.58 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003711/0.1308, allocations: 2.116 MB / 329.8 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1323, allocations: 0.687 MB / 330.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1325, allocations: 4 kB / 330.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.803e-05/0.1326, allocations: 31.77 kB / 330.5 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.1328, allocations: 87.73 kB / 330.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1331, allocations: 63.92 kB / 330.7 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1334, allocations: 211.5 kB / 330.9 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.1337, allocations: 73.08 kB / 331 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.1341, allocations: 115.5 kB / 331.1 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.1343, allocations: 119.5 kB / 331.2 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.1344, allocations: 20 kB / 331.2 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.1345, allocations: 16 kB / 331.2 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.1345, allocations: 39.83 kB / 331.3 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1346, allocations: 65.58 kB / 331.3 MB, free: 440 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.135, allocations: 219.6 kB / 331.6 MB, free: 220 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.135, allocations: 0 / 331.6 MB, free: 220 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.135, allocations: 0 / 331.6 MB, free: 220 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.135, allocations: 0 / 331.6 MB, free: 220 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001449/0.1365, allocations: 0.5986 MB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1365, allocations: 8.031 kB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.1366, allocations: 27.72 kB / 332.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1369, allocations: 266.2 kB / 332.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.1369, allocations: 12.38 kB / 332.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.137, allocations: 16 kB / 332.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.1377, allocations: 248.5 kB / 332.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1377, allocations: 0 / 332.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1377, allocations: 8 kB / 332.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1377, allocations: 4 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.1385, allocations: 279.6 kB / 333 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.14, allocations: 0.8443 MB / 333.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.1409, allocations: 270.5 kB / 334.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1409, allocations: 0 / 334.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005427/0.1415, allocations: 185 kB / 334.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1415, allocations: 0 / 334.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001881/0.1434, allocations: 0.6474 MB / 334.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.1435, allocations: 81.11 kB / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1438, allocations: 240.9 kB / 335.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.1438, allocations: 29.7 kB / 335.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.144, allocations: 171.9 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.144, allocations: 39.44 kB / 335.5 MB, free: 12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.1441, allocations: 4 kB / 335.5 MB, free: 12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.1443, allocations: 330.8 kB / 335.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1446, allocations: 104.1 kB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.1451, allocations: 167.1 kB / 336.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.1454, allocations: 129.7 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1454, allocations: 4 kB / 336.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001131/0.1466, allocations: 439.7 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004485/0.147, allocations: 0.6445 MB / 337.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1471, allocations: 0 / 337.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003327/0.1474, allocations: 64.75 kB / 337.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1476, allocations: 51.91 kB / 337.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.1496, allocations: 1.518 MB / 338.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.1499, allocations: 59.75 kB / 339 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.15, allocations: 12 kB / 339 MB, free: 8.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.15, allocations: 4 kB / 339 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007125/0.1507, allocations: 286.4 kB / 339.3 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1507, allocations: 12.02 kB / 339.3 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.478e-05/0.1508, allocations: 24.84 kB / 339.3 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.151, allocations: 51.89 kB / 339.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.1524, allocations: 1.389 MB / 340.7 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.1527, allocations: 44 kB / 340.8 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1527, allocations: 11.94 kB / 340.8 MB, free: 6.301 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.153, allocations: 208.8 kB / 341 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.153, allocations: 19.89 kB / 341 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1531, allocations: 37.72 kB / 341.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1531, allocations: 0 / 341.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1531, allocations: 0 / 341.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1531, allocations: 0 / 341.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.1534, allocations: 285.3 kB / 341.3 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1534, allocations: 0 / 341.3 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1536, allocations: 43.97 kB / 341.4 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.1538, allocations: 52.81 kB / 341.4 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1538, allocations: 8 kB / 341.4 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.1556, allocations: 1.506 MB / 342.9 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1556, allocations: 0 / 342.9 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1567, allocations: 453.6 kB / 343.4 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.1568, allocations: 105.1 kB / 343.5 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.1569, allocations: 8 kB / 343.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.1571, allocations: 36.03 kB / 343.5 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.1572, allocations: 23.95 kB / 343.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1572, allocations: 7.984 kB / 343.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1574, allocations: 172.5 kB / 343.7 MB, free: 3.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1574, allocations: 0 / 343.7 MB, free: 3.133 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.1579, allocations: 111.7 kB / 343.8 MB, free: 3.023 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002785/0.1582, allocations: 99.88 kB / 343.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1597, allocations: 0.6875 MB / 344.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1597, allocations: 0 / 344.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.1602, allocations: 235.1 kB / 344.9 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1605, allocations: 36.36 kB / 344.9 MB, free: 1.902 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1616, allocations: 0.5991 MB / 345.5 MB, free: 1.281 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1621, allocations: 0.744 MB / 346.2 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1622, allocations: 25.94 kB / 346.3 MB, free: 496 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.1623, allocations: 19.44 kB / 346.3 MB, free: 476 kB / 286.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1623, allocations: 0 / 346.3 MB, free: 476 kB / 286.1 MB Notification: Performance of Templates: time 0.007558/0.1698, allocations: 3.236 MB / 349.5 MB, free: 13.23 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) Environment - environmentSimulation: