Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00152/0.00152, allocations: 114 kB / 16.63 MB, free: 6.816 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.002086/0.002086, allocations: 189.8 kB / 17.55 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.474/1.474, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001137/0.001137, allocations: 47.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.0801, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00542/0.08556, allocations: 5.204 MB / 331.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007513/0.0931, allocations: 6.501 MB / 337.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008076/0.09395, allocations: 31.75 kB / 337.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.09541, allocations: 449.6 kB / 338.3 MB, free: 8.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.09759, allocations: 0.6912 MB / 339 MB, free: 7.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.09873, allocations: 375 kB / 339.4 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002707/0.1015, allocations: 2.016 MB / 341.4 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.1017, allocations: 171 kB / 341.5 MB, free: 5.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.1021, allocations: 334.3 kB / 341.9 MB, free: 4.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.1025, allocations: 349.7 kB / 342.2 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.649e-05/0.1025, allocations: 28 kB / 342.2 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.1035, allocations: 467.6 kB / 342.7 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.1036, allocations: 111.2 kB / 342.8 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.1039, allocations: 449 kB / 343.2 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1052, allocations: 1.257 MB / 344.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1052, allocations: 7.938 kB / 344.5 MB, free: 2.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1053, allocations: 0 / 344.5 MB, free: 2.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1053, allocations: 0 / 344.5 MB, free: 2.32 MB / 286.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.002701/0.108, allocations: 1.444 MB / 346 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.108, allocations: 8.031 kB / 346 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.1083, allocations: 130.3 kB / 346.1 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.11, allocations: 0.8465 MB / 346.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.11, allocations: 16.44 kB / 346.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.1101, allocations: 24 kB / 347 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.1109, allocations: 314.6 kB / 347.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1109, allocations: 0 / 347.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.111, allocations: 11.94 kB / 347.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.111, allocations: 4 kB / 347.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.1116, allocations: 225.8 kB / 347.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.1141, allocations: 1.126 MB / 348.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.1147, allocations: 250.4 kB / 348.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007118/0.1154, allocations: 300.5 kB / 349.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.1167, allocations: 0.7515 MB / 349.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.1168, allocations: 38.56 kB / 350 MB, free: 12.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.996e-06/0.1168, allocations: 3.938 kB / 350 MB, free: 12.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.004288/0.1211, allocations: 1.553 MB / 351.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.1212, allocations: 110.8 kB / 351.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.1227, allocations: 0.9301 MB / 352.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.1228, allocations: 29.7 kB / 352.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.1232, allocations: 361.5 kB / 352.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.1233, allocations: 130.1 kB / 353.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.1236, allocations: 121.5 kB / 353.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1237, allocations: 329.9 kB / 353.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.1241, allocations: 116.6 kB / 353.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.1245, allocations: 163.5 kB / 353.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.1266, allocations: 0.7372 MB / 354.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1267, allocations: 0 / 354.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001418/0.1281, allocations: 0.5542 MB / 355.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.1282, allocations: 41.69 kB / 355.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/0.1282, allocations: 16 kB / 355.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.1285, allocations: 77.61 kB / 355.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1288, allocations: 43.97 kB / 355.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003787/0.1326, allocations: 3.328 MB / 358.6 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.1332, allocations: 12 kB / 358.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.1334, allocations: 20 kB / 358.6 MB, free: 3.359 MB / 302.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.0007012/0.1341, allocations: 275.7 kB / 358.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.1344, allocations: 114.6 kB / 359 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.1365, allocations: 0.6646 MB / 359.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1366, allocations: 4 kB / 359.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.1366, allocations: 4 kB / 359.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1366, allocations: 0 / 359.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.1378, allocations: 0.616 MB / 360.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.729e-05/0.1378, allocations: 16 kB / 360.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.1381, allocations: 31.97 kB / 360.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/0.1384, allocations: 69.69 kB / 360.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.1385, allocations: 15.98 kB / 360.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/0.1421, allocations: 3.335 MB / 363.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1421, allocations: 0 / 363.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.1441, allocations: 0.8666 MB / 364.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/0.1447, allocations: 263.6 kB / 364.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.1449, allocations: 15.92 kB / 364.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.1454, allocations: 8 kB / 364.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.1456, allocations: 36.03 kB / 364.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.1456, allocations: 19.98 kB / 364.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001303/0.147, allocations: 0.6256 MB / 365.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.147, allocations: 3.938 kB / 365.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001303/0.1483, allocations: 223.9 kB / 365.8 MB, free: 11.75 MB / 318.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.0007994/0.1491, allocations: 303 kB / 366.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.1508, allocations: 0.7853 MB / 366.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1508, allocations: 3.938 kB / 366.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009428/0.1518, allocations: 0.6205 MB / 367.5 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.1527, allocations: 99.94 kB / 367.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.1563, allocations: 1.924 MB / 369.5 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.1571, allocations: 1 MB / 370.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.1574, allocations: 93.64 kB / 370.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.1575, allocations: 51.42 kB / 370.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1575, allocations: 0 / 370.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of Templates: time 0.1747/0.3323, allocations: 8.608 MB / 379.3 MB, free: 53.29 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)