Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005673/0.005673, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001319/0.001319, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.362/1.362, 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.00244/0.00244, allocations: 53.73 kB / 326.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1124, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006225/0.1186, allocations: 5.201 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008557/0.1272, allocations: 6.566 MB / 384.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.1281, allocations: 43.69 kB / 385 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.1297, allocations: 0.5046 MB / 385.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.132, allocations: 0.8069 MB / 386.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1331, allocations: 434.4 kB / 386.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002889/0.136, allocations: 1.985 MB / 388.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.1363, allocations: 163 kB / 388.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.1368, allocations: 362.3 kB / 389.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.1371, allocations: 349.7 kB / 389.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.1372, allocations: 28 kB / 389.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009669/0.1382, allocations: 471.5 kB / 390 MB, free: 368 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1383, allocations: 115.2 kB / 390.1 MB, free: 252 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.1387, allocations: 445.1 kB / 390.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.14, allocations: 1.269 MB / 391.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.14, allocations: 8 kB / 391.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.14, allocations: 0 / 391.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.14, allocations: 0 / 391.9 MB, free: 14.53 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001739/0.1417, allocations: 1.433 MB / 393.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1418, allocations: 16.02 kB / 393.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1419, allocations: 130.3 kB / 393.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.143, allocations: 0.8464 MB / 394.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.143, allocations: 16.44 kB / 394.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.1431, allocations: 23.91 kB / 394.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.1436, allocations: 306.7 kB / 394.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1436, allocations: 0 / 394.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1437, allocations: 15.94 kB / 394.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1437, allocations: 7.984 kB / 394.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.1441, allocations: 225.7 kB / 394.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.1458, allocations: 1.122 MB / 396 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.1462, allocations: 246.4 kB / 396.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000511/0.1467, allocations: 289.8 kB / 396.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009371/0.1477, allocations: 0.7593 MB / 397.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1477, allocations: 38.56 kB / 397.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.803e-06/0.1477, allocations: 4 kB / 397.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002924/0.1506, allocations: 1.546 MB / 398.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1507, allocations: 114.8 kB / 399 MB, free: 6.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1518, allocations: 0.9262 MB / 399.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1518, allocations: 29.7 kB / 399.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.1522, allocations: 353.6 kB / 400.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.1523, allocations: 134 kB / 400.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.1525, allocations: 121.6 kB / 400.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1526, allocations: 321.9 kB / 400.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.1529, allocations: 128.5 kB / 401 MB, free: 4.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.1532, allocations: 163.6 kB / 401.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.1546, allocations: 0.7409 MB / 401.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1546, allocations: 0 / 401.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009041/0.1555, allocations: 0.5502 MB / 402.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.1556, allocations: 41.69 kB / 402.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.1556, allocations: 12 kB / 402.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.1558, allocations: 73.7 kB / 402.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1561, allocations: 47.91 kB / 402.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.1587, allocations: 3.327 MB / 405.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.159, allocations: 16.16 kB / 405.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.1591, allocations: 23.98 kB / 405.9 MB, free: 15.58 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000374/0.1595, allocations: 267.8 kB / 406.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1596, allocations: 122.5 kB / 406.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.1609, allocations: 0.6608 MB / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1609, allocations: 4 kB / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1609, allocations: 0 / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1609, allocations: 3.984 kB / 407 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.1616, allocations: 0.616 MB / 407.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.1617, allocations: 15.94 kB / 407.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1618, allocations: 39.91 kB / 407.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.162, allocations: 65.67 kB / 407.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.1621, allocations: 20 kB / 407.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.1645, allocations: 3.331 MB / 411.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1646, allocations: 4.031 kB / 411.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1658, allocations: 0.851 MB / 411.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.1662, allocations: 279.5 kB / 412.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.1663, allocations: 11.94 kB / 412.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.1666, allocations: 12 kB / 412.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.1667, allocations: 36.02 kB / 412.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.1667, allocations: 16 kB / 412.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007345/0.1674, allocations: 0.6256 MB / 412.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1675, allocations: 0 / 412.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007729/0.1682, allocations: 223.8 kB / 413.1 MB, free: 7.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004874/0.1687, allocations: 314.9 kB / 413.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1698, allocations: 0.7766 MB / 414.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1698, allocations: 0 / 414.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.1705, allocations: 0.6176 MB / 414.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.171, allocations: 100.7 kB / 414.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1731, allocations: 1.58 MB / 416.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.1736, allocations: 0.9961 MB / 417.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.1739, allocations: 93.64 kB / 417.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/0.174, allocations: 51.42 kB / 417.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.174, allocations: 0 / 417.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Templates: time 0.01623/0.1902, allocations: 8.68 MB / 426.3 MB, free: 10.56 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)