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.002229/0.002229, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.003107/0.003107, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.72/1.72, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001212/0.001212, allocations: 51.92 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005083/0.1334, allocations: 2.647 MB / 328.6 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1353, allocations: 0.7099 MB / 329.3 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1355, allocations: 4 kB / 329.3 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1357, allocations: 31.7 kB / 329.4 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1359, allocations: 71.47 kB / 329.4 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1363, allocations: 75.91 kB / 329.5 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.1366, allocations: 310.6 kB / 329.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.1369, allocations: 69.14 kB / 329.9 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.1372, allocations: 107.6 kB / 330 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1374, allocations: 135.4 kB / 330.1 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.1375, allocations: 27.94 kB / 330.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.1375, allocations: 16 kB / 330.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.1376, allocations: 47.77 kB / 330.2 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.138, allocations: 123.4 kB / 330.3 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.1385, allocations: 291.2 kB / 330.6 MB, free: 216 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.1386, allocations: 0 / 330.6 MB, free: 216 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1386, allocations: 3.938 kB / 330.6 MB, free: 212 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1386, allocations: 0 / 330.6 MB, free: 212 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.00177/0.1404, allocations: 0.622 MB / 331.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.1404, allocations: 8.031 kB / 331.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.1405, allocations: 28.66 kB / 331.3 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.141, allocations: 263.5 kB / 331.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.141, allocations: 24.73 kB / 331.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.1411, allocations: 16.38 kB / 331.6 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.1418, allocations: 240.6 kB / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1419, allocations: 0 / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1419, allocations: 4 kB / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1419, allocations: 4 kB / 331.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/0.1427, allocations: 251.5 kB / 332.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1446, allocations: 0.8208 MB / 332.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.1456, allocations: 234.6 kB / 333.1 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.1459, allocations: 92.78 kB / 333.2 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1459, allocations: 0 / 333.2 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006803/0.1466, allocations: 168.9 kB / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.1466, allocations: 0 / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002254/0.1489, allocations: 0.5341 MB / 333.9 MB, free: 12.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.1491, allocations: 85.05 kB / 334 MB, free: 12.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.1495, allocations: 244.9 kB / 334.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.1495, allocations: 29.7 kB / 334.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.1498, allocations: 171.9 kB / 334.4 MB, free: 12.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.1499, allocations: 39.45 kB / 334.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.1499, allocations: 37.72 kB / 334.5 MB, free: 12.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003207/0.1503, allocations: 334.8 kB / 334.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.1508, allocations: 96.72 kB / 334.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.1511, allocations: 154.6 kB / 335.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.1517, allocations: 246.6 kB / 335.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1517, allocations: 0 / 335.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001033/0.1528, allocations: 379.8 kB / 335.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.1529, allocations: 33.7 kB / 335.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.1529, allocations: 4 kB / 335.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.1534, allocations: 96.72 kB / 335.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.1536, allocations: 43.91 kB / 335.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.1557, allocations: 1.456 MB / 337.3 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.156, allocations: 35.81 kB / 337.3 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1561, allocations: 8 kB / 337.3 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003732/0.1564, allocations: 172.1 kB / 337.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003219/0.1568, allocations: 142.8 kB / 337.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000517/0.1573, allocations: 223 kB / 337.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.1573, allocations: 0 / 337.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007647/0.1581, allocations: 311.6 kB / 338.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.1581, allocations: 33.7 kB / 338.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1582, allocations: 0 / 338.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.784e-05/0.1583, allocations: 24.84 kB / 338.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1585, allocations: 48.09 kB / 338.3 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.16, allocations: 1.384 MB / 339.7 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1602, allocations: 35.91 kB / 339.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1603, allocations: 12 kB / 339.7 MB, free: 6.391 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.0002172/0.1605, allocations: 188.2 kB / 339.9 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1606, allocations: 23.84 kB / 339.9 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.1606, allocations: 25.83 kB / 339.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1606, allocations: 0 / 339.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1606, allocations: 0 / 339.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.1607, allocations: 15.92 kB / 340 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.161, allocations: 285.3 kB / 340.2 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.161, allocations: 0 / 340.2 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.1613, allocations: 39.91 kB / 340.3 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.1615, allocations: 44.81 kB / 340.3 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1615, allocations: 4 kB / 340.3 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.1632, allocations: 1.432 MB / 341.8 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1632, allocations: 0 / 341.8 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.1643, allocations: 394.1 kB / 342.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1645, allocations: 96.84 kB / 342.2 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.1645, allocations: 8.062 kB / 342.2 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1647, allocations: 23.97 kB / 342.3 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1649, allocations: 24.05 kB / 342.3 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1649, allocations: 12 kB / 342.3 MB, free: 3.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.1651, allocations: 176.4 kB / 342.5 MB, free: 3.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1651, allocations: 0 / 342.5 MB, free: 3.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005551/0.1657, allocations: 107.7 kB / 342.6 MB, free: 3.289 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.0002309/0.1659, allocations: 111.2 kB / 342.7 MB, free: 3.172 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.1674, allocations: 0.6448 MB / 343.3 MB, free: 2.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1675, allocations: 0 / 343.3 MB, free: 2.477 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.1679, allocations: 218.5 kB / 343.5 MB, free: 2.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1683, allocations: 40.73 kB / 343.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1696, allocations: 0.5746 MB / 344.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.17, allocations: 0.7401 MB / 344.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.1701, allocations: 25.94 kB / 344.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.1702, allocations: 15.44 kB / 344.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1702, allocations: 0 / 344.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of Templates: time 0.008779/0.179, allocations: 3.37 MB / 348.3 MB, free: 13.44 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)