Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.009496/0.009496, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001666/0.001667, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.907/1.907, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001243/0.001243, allocations: 55.47 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1215, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004246/0.1258, allocations: 2.594 MB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1273, allocations: 0.7173 MB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.1276, allocations: 8 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1279, allocations: 35.58 kB / 376.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1282, allocations: 87.33 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1286, allocations: 83.83 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.129, allocations: 334.6 kB / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.1292, allocations: 88.62 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1294, allocations: 139.4 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1296, allocations: 139.4 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.1297, allocations: 28 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.1297, allocations: 28 kB / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.1298, allocations: 59.81 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.1299, allocations: 139.2 kB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1303, allocations: 295 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1303, allocations: 4 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1303, allocations: 0 / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1303, allocations: 4 kB / 377.9 MB, free: 12.52 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.001305/0.1316, allocations: 0.6142 MB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1317, allocations: 12.03 kB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.1318, allocations: 24.66 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.1322, allocations: 271.7 kB / 378.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1322, allocations: 12.75 kB / 378.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.1323, allocations: 20.38 kB / 378.9 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.1329, allocations: 236.6 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1329, allocations: 7.984 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.1329, allocations: 4 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.133, allocations: 4 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.1337, allocations: 247.6 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.1352, allocations: 0.8092 MB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008241/0.136, allocations: 230.5 kB / 380.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.1363, allocations: 96.78 kB / 380.5 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1363, allocations: 4 kB / 380.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.1368, allocations: 161 kB / 380.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.1368, allocations: 3.938 kB / 380.7 MB, free: 9.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001894/0.1387, allocations: 0.5419 MB / 381.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.1388, allocations: 77.11 kB / 381.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.1391, allocations: 241 kB / 381.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1392, allocations: 29.7 kB / 381.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1393, allocations: 160 kB / 381.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.1394, allocations: 47.45 kB / 381.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.1395, allocations: 49.55 kB / 381.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1396, allocations: 330.8 kB / 382.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.14, allocations: 96.73 kB / 382.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1404, allocations: 146.6 kB / 382.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.1411, allocations: 240.6 kB / 382.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1411, allocations: 4 kB / 382.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001089/0.1422, allocations: 391.6 kB / 383 MB, free: 7.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/0.1423, allocations: 33.7 kB / 383 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1423, allocations: 0 / 383 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/0.1428, allocations: 92.78 kB / 383.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.1431, allocations: 55.83 kB / 383.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.1449, allocations: 1.554 MB / 384.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.1452, allocations: 43.83 kB / 384.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1452, allocations: 15.94 kB / 384.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003397/0.1456, allocations: 172.1 kB / 385 MB, free: 5.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002983/0.1459, allocations: 138.8 kB / 385.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005291/0.1464, allocations: 227.4 kB / 385.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.1464, allocations: 0 / 385.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000793/0.1472, allocations: 307.6 kB / 385.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.1473, allocations: 41.59 kB / 385.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.1473, allocations: 4 kB / 385.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.363e-05/0.1474, allocations: 24.84 kB / 385.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1476, allocations: 44.16 kB / 385.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.1491, allocations: 1.54 MB / 387.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.1494, allocations: 35.84 kB / 387.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1494, allocations: 8 kB / 387.3 MB, free: 2.438 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.0001863/0.1496, allocations: 204.2 kB / 387.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.1496, allocations: 19.72 kB / 387.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.1497, allocations: 33.89 kB / 387.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1497, allocations: 0 / 387.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1497, allocations: 0 / 387.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1497, allocations: 0 / 387.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.1501, allocations: 285.4 kB / 387.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1501, allocations: 0 / 387.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.1503, allocations: 39.91 kB / 387.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.1505, allocations: 44.81 kB / 387.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1505, allocations: 8 kB / 387.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.1521, allocations: 1.539 MB / 389.5 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1522, allocations: 208 / 389.5 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.1533, allocations: 401.4 kB / 389.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.1534, allocations: 100.9 kB / 390 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.1534, allocations: 4 kB / 390 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1536, allocations: 27.91 kB / 390 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.1537, allocations: 23.97 kB / 390 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1537, allocations: 4.062 kB / 390 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.154, allocations: 176.5 kB / 390.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.154, allocations: 0 / 390.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.1545, allocations: 103.8 kB / 390.3 MB, free: 15.21 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.0001796/0.1547, allocations: 95.25 kB / 390.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.1563, allocations: 0.6598 MB / 391 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1564, allocations: 0.75 kB / 391 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.1568, allocations: 222.5 kB / 391.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1572, allocations: 49.08 kB / 391.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.1585, allocations: 0.4904 MB / 391.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.159, allocations: 0.74 MB / 392.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.1592, allocations: 21.94 kB / 392.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.1593, allocations: 19.44 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1593, allocations: 7.938 kB / 392.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of Templates: time 0.009381/0.1687, allocations: 3.698 MB / 396.3 MB, free: 9.078 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)