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.01028/0.01028, allocations: 101.6 kB / 15.73 MB, free: 6.449 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.001977/0.001977, allocations: 199.1 kB / 16.68 MB, free: 6.352 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.869/1.869, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001278/0.001278, allocations: 58.47 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1294, allocations: 46.61 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004192/0.1336, allocations: 2.602 MB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1355, allocations: 0.7134 MB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.1357, allocations: 7.938 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.136, allocations: 35.64 kB / 376.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1362, allocations: 87.27 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1367, allocations: 91.83 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.1371, allocations: 330.6 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.1374, allocations: 80.7 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.1378, allocations: 127.5 kB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1381, allocations: 143.4 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.1381, allocations: 28 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.1382, allocations: 28 kB / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.1383, allocations: 67.69 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1385, allocations: 139.3 kB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.1389, allocations: 298.8 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.1389, allocations: 3.984 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1389, allocations: 0 / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.139, allocations: 0 / 377.9 MB, free: 12.51 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.0016/0.1406, allocations: 0.6218 MB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.1406, allocations: 8.031 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.1407, allocations: 28.8 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.1412, allocations: 271.9 kB / 378.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1413, allocations: 16.75 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.1413, allocations: 16.38 kB / 378.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.142, allocations: 240.5 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.142, allocations: 0 / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.142, allocations: 15.98 kB / 379.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.142, allocations: 4 kB / 379.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.1428, allocations: 239.6 kB / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1443, allocations: 0.8132 MB / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.1451, allocations: 238.5 kB / 380.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.1454, allocations: 96.78 kB / 380.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1454, allocations: 0 / 380.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.1459, allocations: 161 kB / 380.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1459, allocations: 4 kB / 380.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001905/0.1478, allocations: 0.5342 MB / 381.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.1479, allocations: 81.11 kB / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.1483, allocations: 245 kB / 381.5 MB, free: 8.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1483, allocations: 25.7 kB / 381.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.1486, allocations: 168.2 kB / 381.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.1486, allocations: 43.64 kB / 381.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1487, allocations: 41.7 kB / 381.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.149, allocations: 338.8 kB / 382.1 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.1494, allocations: 88.73 kB / 382.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.1498, allocations: 158.6 kB / 382.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.1504, allocations: 239.5 kB / 382.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1504, allocations: 0 / 382.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001243/0.1517, allocations: 391.8 kB / 383 MB, free: 7.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/0.1518, allocations: 37.73 kB / 383 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.1518, allocations: 4 kB / 383 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/0.1524, allocations: 88.75 kB / 383.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1526, allocations: 55.83 kB / 383.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.155, allocations: 1.55 MB / 384.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.1554, allocations: 59.83 kB / 384.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.1554, allocations: 8 kB / 384.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003923/0.1558, allocations: 172.1 kB / 385 MB, free: 4.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003032/0.1561, allocations: 138.7 kB / 385.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005633/0.1567, allocations: 219.6 kB / 385.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.609e-05/0.1567, allocations: 0 / 385.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0008037/0.1576, allocations: 311.9 kB / 385.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.1576, allocations: 41.53 kB / 385.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1576, allocations: 4 kB / 385.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.1578, allocations: 24.84 kB / 385.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.158, allocations: 47.91 kB / 385.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.1596, allocations: 1.54 MB / 387.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.1599, allocations: 43.98 kB / 387.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1599, allocations: 4 kB / 387.3 MB, free: 2.406 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.0002627/0.1602, allocations: 208.3 kB / 387.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.1602, allocations: 15.91 kB / 387.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.1603, allocations: 21.83 kB / 387.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1603, allocations: 4 kB / 387.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1603, allocations: 0 / 387.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1603, allocations: 4 kB / 387.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.1608, allocations: 293.4 kB / 387.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1608, allocations: 0 / 387.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.161, allocations: 27.97 kB / 387.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.1612, allocations: 44.83 kB / 387.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1612, allocations: 3.984 kB / 387.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.1634, allocations: 1.551 MB / 389.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1634, allocations: 0 / 389.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.1647, allocations: 401.6 kB / 389.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1648, allocations: 101 kB / 390 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.1649, allocations: 4 kB / 390 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1651, allocations: 27.97 kB / 390 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1652, allocations: 19.97 kB / 390 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1652, allocations: 0 / 390 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.1655, allocations: 172.5 kB / 390.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1655, allocations: 8.062 kB / 390.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006254/0.1662, allocations: 107.8 kB / 390.3 MB, free: 15.17 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.0003004/0.1665, allocations: 103.2 kB / 390.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.168, allocations: 0.6521 MB / 391.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.168, allocations: 7.938 kB / 391.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.1685, allocations: 223.2 kB / 391.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1688, allocations: 40.36 kB / 391.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1701, allocations: 0.4975 MB / 391.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.1707, allocations: 0.7439 MB / 392.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.1708, allocations: 25.94 kB / 392.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.1709, allocations: 19.44 kB / 392.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1709, allocations: 0 / 392.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Templates: time 0.009598/0.1805, allocations: 3.706 MB / 396.3 MB, free: 9.031 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)