Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.01112/0.01112, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002402/0.002402, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.802/1.802, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.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.001189/0.00119, allocations: 51.05 kB / 326.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1274, allocations: 46.63 MB / 373.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004388/0.1319, allocations: 2.598 MB / 375.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1335, allocations: 0.7057 MB / 376.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1337, allocations: 3.938 kB / 376.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1341, allocations: 35.64 kB / 376.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1343, allocations: 87.33 kB / 376.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.1347, allocations: 95.75 kB / 376.7 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.1352, allocations: 330.6 kB / 377.1 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.1355, allocations: 88.67 kB / 377.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.1358, allocations: 127.5 kB / 377.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.136, allocations: 139.4 kB / 377.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.678e-05/0.1361, allocations: 28 kB / 377.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.1361, allocations: 28 kB / 377.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.1362, allocations: 59.77 kB / 377.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.1364, allocations: 143.2 kB / 377.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.1369, allocations: 310.7 kB / 378 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1369, allocations: 0 / 378 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1369, allocations: 0 / 378 MB, free: 12.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1369, allocations: 4 kB / 378 MB, free: 12.62 MB / 318.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.001537/0.1385, allocations: 0.6218 MB / 378.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1385, allocations: 8.031 kB / 378.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.1386, allocations: 28.8 kB / 378.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.1392, allocations: 263.9 kB / 378.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.1392, allocations: 12.75 kB / 378.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.1393, allocations: 20.38 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.1399, allocations: 244.5 kB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.14, allocations: 0 / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.14, allocations: 12 kB / 379.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.14, allocations: 4 kB / 379.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.1408, allocations: 251.6 kB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.1424, allocations: 0.8132 MB / 380.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008731/0.1433, allocations: 226.6 kB / 380.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.1436, allocations: 100.7 kB / 380.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.1437, allocations: 0 / 380.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.1442, allocations: 165 kB / 380.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1442, allocations: 0 / 380.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002045/0.1462, allocations: 0.5381 MB / 381.2 MB, free: 9.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.1463, allocations: 77.11 kB / 381.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1466, allocations: 241 kB / 381.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1467, allocations: 33.7 kB / 381.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1468, allocations: 164.2 kB / 381.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.1469, allocations: 43.64 kB / 381.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.227e-05/0.1469, allocations: 37.7 kB / 381.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1471, allocations: 338.8 kB / 382.2 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.1475, allocations: 96.72 kB / 382.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.1478, allocations: 142.7 kB / 382.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.1485, allocations: 251.4 kB / 382.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1485, allocations: 0 / 382.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001087/0.1496, allocations: 387.8 kB / 383 MB, free: 7.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.1496, allocations: 33.7 kB / 383 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1497, allocations: 4 kB / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.1502, allocations: 92.78 kB / 383.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1504, allocations: 43.91 kB / 383.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.1525, allocations: 1.562 MB / 384.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.1528, allocations: 43.78 kB / 384.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.1529, allocations: 12 kB / 384.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004017/0.1533, allocations: 176 kB / 385 MB, free: 5.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003375/0.1537, allocations: 138.8 kB / 385.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005072/0.1542, allocations: 223.6 kB / 385.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.1542, allocations: 3.938 kB / 385.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007084/0.1549, allocations: 315.7 kB / 385.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.155, allocations: 33.61 kB / 385.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.155, allocations: 4 kB / 385.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.151e-05/0.1551, allocations: 29.03 kB / 385.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1553, allocations: 43.91 kB / 385.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.1565, allocations: 1.548 MB / 387.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.1568, allocations: 39.89 kB / 387.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1568, allocations: 4 kB / 387.3 MB, free: 2.52 MB / 318.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.0001744/0.157, allocations: 204.2 kB / 387.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.157, allocations: 19.91 kB / 387.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.1571, allocations: 25.83 kB / 387.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1571, allocations: 4 kB / 387.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1571, allocations: 0 / 387.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1571, allocations: 0 / 387.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.1574, allocations: 289.3 kB / 387.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1575, allocations: 0 / 387.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1576, allocations: 27.97 kB / 387.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.1578, allocations: 52.81 kB / 387.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1579, allocations: 4 kB / 387.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.1596, allocations: 1.539 MB / 389.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1596, allocations: 3.984 kB / 389.5 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.1609, allocations: 402.2 kB / 389.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.161, allocations: 101 kB / 390 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.161, allocations: 4 kB / 390 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1613, allocations: 36.02 kB / 390 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.1614, allocations: 15.98 kB / 390 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1614, allocations: 0 / 390 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.1616, allocations: 176.5 kB / 390.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1616, allocations: 0 / 390.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005417/0.1621, allocations: 107.8 kB / 390.3 MB, free: 15.29 MB / 334.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.0002435/0.1624, allocations: 107.2 kB / 390.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.1638, allocations: 0.6611 MB / 391.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1638, allocations: 0 / 391.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.1643, allocations: 226.5 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1647, allocations: 40.28 kB / 391.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1659, allocations: 0.5005 MB / 391.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.1665, allocations: 0.7478 MB / 392.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1666, allocations: 21.95 kB / 392.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.1667, allocations: 15.44 kB / 392.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1667, allocations: 0 / 392.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of Templates: time 0.008981/0.1757, allocations: 3.702 MB / 396.3 MB, free: 9.145 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)