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.0009246/0.000925, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0009969/0.000997, allocations: 177 kB / 17.56 MB, free: 6.18 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.003/2.003, 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.0005844/0.0005845, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1361, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003637/0.1398, allocations: 2.297 MB / 330.6 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1419, allocations: 0.6983 MB / 331.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.1421, allocations: 4 kB / 331.3 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1423, allocations: 31.77 kB / 331.4 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1426, allocations: 71.47 kB / 331.4 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.143, allocations: 75.91 kB / 331.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.1435, allocations: 302.7 kB / 331.8 MB, free: 268 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.1438, allocations: 69.14 kB / 331.9 MB, free: 204 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.1441, allocations: 111.5 kB / 332 MB, free: 92 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.1444, allocations: 123.5 kB / 332.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.1445, allocations: 15.94 kB / 332.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.1445, allocations: 20 kB / 332.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.1446, allocations: 51.7 kB / 332.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1448, allocations: 145 kB / 332.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.1452, allocations: 283.1 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.1453, allocations: 0 / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.961e-06/0.1453, allocations: 0 / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1453, allocations: 0 / 332.6 MB, free: 15.46 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001732/0.147, allocations: 0.5949 MB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.1471, allocations: 8.031 kB / 333.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.988e-05/0.1472, allocations: 32.56 kB / 333.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1476, allocations: 263.5 kB / 333.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/0.1477, allocations: 12.75 kB / 333.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.1478, allocations: 20.31 kB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.1485, allocations: 260.6 kB / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1485, allocations: 0 / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.1486, allocations: 8 kB / 333.8 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1486, allocations: 4 kB / 333.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/0.1495, allocations: 279.6 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.1512, allocations: 0.8442 MB / 334.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/0.1521, allocations: 266.5 kB / 335.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.1525, allocations: 112.8 kB / 335.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1525, allocations: 3.984 kB / 335.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005189/0.153, allocations: 184.9 kB / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.153, allocations: 0 / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002153/0.1552, allocations: 0.6591 MB / 336.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.1553, allocations: 81.11 kB / 336.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.1557, allocations: 241 kB / 336.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.1557, allocations: 25.7 kB / 336.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1559, allocations: 171.9 kB / 336.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.156, allocations: 39.45 kB / 336.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.156, allocations: 21.7 kB / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1563, allocations: 334.8 kB / 337 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.1566, allocations: 107.9 kB / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.157, allocations: 158.7 kB / 337.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.1576, allocations: 282.2 kB / 337.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1577, allocations: 0 / 337.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001092/0.1588, allocations: 443.7 kB / 338 MB, free: 9.715 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.1589, allocations: 163.9 kB / 338.1 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1589, allocations: 4 kB / 338.1 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/0.1594, allocations: 128.6 kB / 338.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1597, allocations: 51.91 kB / 338.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.1614, allocations: 1.507 MB / 339.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.1617, allocations: 47.88 kB / 339.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1618, allocations: 8 kB / 339.9 MB, free: 7.645 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.1618, allocations: 4 kB / 339.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007235/0.1625, allocations: 302.2 kB / 340.2 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1625, allocations: 4 kB / 340.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.939e-05/0.1626, allocations: 24.84 kB / 340.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1628, allocations: 51.89 kB / 340.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.1639, allocations: 1.381 MB / 341.6 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1642, allocations: 39.91 kB / 341.7 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1642, allocations: 15.94 kB / 341.7 MB, free: 5.684 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 (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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.1645, allocations: 213 kB / 341.9 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1645, allocations: 19.72 kB / 341.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.1645, allocations: 17.84 kB / 341.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1646, allocations: 4 kB / 341.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1646, allocations: 0 / 341.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1646, allocations: 7.922 kB / 341.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.1649, allocations: 285.4 kB / 342.2 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1649, allocations: 4 kB / 342.2 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.1651, allocations: 35.97 kB / 342.3 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.1653, allocations: 56.81 kB / 342.3 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1653, allocations: 4 kB / 342.3 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.1669, allocations: 1.499 MB / 343.8 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1669, allocations: 3.984 kB / 343.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.1681, allocations: 461.4 kB / 344.3 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.1681, allocations: 92.94 kB / 344.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.1682, allocations: 8 kB / 344.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.1684, allocations: 36.03 kB / 344.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.1685, allocations: 19.97 kB / 344.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1685, allocations: 4 kB / 344.4 MB, free: 2.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1687, allocations: 172.5 kB / 344.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1687, allocations: 7.938 kB / 344.6 MB, free: 2.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004957/0.1692, allocations: 107.7 kB / 344.7 MB, free: 2.422 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 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.1694, allocations: 99.25 kB / 344.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.171, allocations: 0.6951 MB / 345.5 MB, free: 1.574 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.171, allocations: 4 kB / 345.5 MB, free: 1.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.1715, allocations: 230.9 kB / 345.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.172, allocations: 53.16 kB / 345.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1735, allocations: 0.622 MB / 346.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.174, allocations: 0.7401 MB / 347.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.1742, allocations: 21.95 kB / 347.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.1742, allocations: 15.44 kB / 347.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1742, allocations: 4 kB / 347.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Templates: time 0.00854/0.1828, allocations: 3.339 MB / 350.5 MB, free: 12.5 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (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)