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.007683/0.007683, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.0015/0.0015, allocations: 186.6 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.358/1.358, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001266/0.001266, allocations: 50.86 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08455, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006321/0.09091, allocations: 5.197 MB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008263/0.0992, allocations: 6.566 MB / 384.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.1001, allocations: 43.62 kB / 385 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.1016, allocations: 0.5085 MB / 385.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.1047, allocations: 0.8108 MB / 386.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1061, allocations: 434.5 kB / 386.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.1094, allocations: 1.981 MB / 388.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.1098, allocations: 171 kB / 388.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000563/0.1104, allocations: 366.3 kB / 389.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.1108, allocations: 341.7 kB / 389.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.111, allocations: 32 kB / 389.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1121, allocations: 471.6 kB / 390 MB, free: 376 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1122, allocations: 107.2 kB / 390.1 MB, free: 268 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.1127, allocations: 449 kB / 390.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.1144, allocations: 1.273 MB / 391.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1144, allocations: 4 kB / 391.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1144, allocations: 0 / 391.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.793e-05/0.1145, allocations: 4 kB / 391.9 MB, free: 14.54 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.00209/0.1166, allocations: 1.436 MB / 393.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1166, allocations: 8.031 kB / 393.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1168, allocations: 130.3 kB / 393.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1179, allocations: 0.8464 MB / 394.3 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.118, allocations: 24.38 kB / 394.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.118, allocations: 27.89 kB / 394.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.1186, allocations: 302.7 kB / 394.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1186, allocations: 0 / 394.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1187, allocations: 19.88 kB / 394.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1187, allocations: 8 kB / 394.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.1191, allocations: 221.8 kB / 394.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1208, allocations: 1.122 MB / 396 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.1213, allocations: 242.5 kB / 396.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.1218, allocations: 293.8 kB / 396.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009384/0.1227, allocations: 0.7594 MB / 397.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1228, allocations: 34.56 kB / 397.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.924e-06/0.1228, allocations: 0 / 397.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002877/0.1256, allocations: 1.554 MB / 398.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.1257, allocations: 114.8 kB / 399 MB, free: 6.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009934/0.1267, allocations: 0.9301 MB / 399.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.1268, allocations: 33.7 kB / 399.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.127, allocations: 353.6 kB / 400.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1272, allocations: 130 kB / 400.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.1273, allocations: 117.6 kB / 400.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1274, allocations: 325.8 kB / 400.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.1277, allocations: 120.6 kB / 401 MB, free: 4.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.128, allocations: 167.6 kB / 401.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.1293, allocations: 0.7331 MB / 401.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1293, allocations: 0 / 401.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009197/0.1302, allocations: 0.558 MB / 402.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.1303, allocations: 41.69 kB / 402.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.1303, allocations: 12 kB / 402.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.1305, allocations: 69.72 kB / 402.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1308, allocations: 51.91 kB / 402.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.1332, allocations: 3.32 MB / 405.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.1335, allocations: 16.02 kB / 405.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.1336, allocations: 20 kB / 405.9 MB, free: 15.6 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.0003761/0.134, allocations: 275.8 kB / 406.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.1341, allocations: 122.5 kB / 406.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1353, allocations: 0.6648 MB / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1354, allocations: 4 kB / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1354, allocations: 4 kB / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.1354, allocations: 0 / 407 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000753/0.1361, allocations: 0.6198 MB / 407.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.162e-05/0.1362, allocations: 15.98 kB / 407.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.1364, allocations: 31.92 kB / 407.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.1366, allocations: 73.67 kB / 407.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.1366, allocations: 19.98 kB / 407.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/0.1397, allocations: 3.331 MB / 411.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1397, allocations: 0 / 411.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1411, allocations: 0.851 MB / 411.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.1415, allocations: 275.5 kB / 412.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.1417, allocations: 11.94 kB / 412.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.1419, allocations: 11.98 kB / 412.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.142, allocations: 27.97 kB / 412.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.1421, allocations: 24.05 kB / 412.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009274/0.143, allocations: 0.6256 MB / 412.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.143, allocations: 0 / 412.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001017/0.1441, allocations: 223.9 kB / 413.1 MB, free: 7.992 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.0008451/0.1449, allocations: 306.9 kB / 413.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.1464, allocations: 0.7805 MB / 414.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1464, allocations: 0 / 414.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.1472, allocations: 0.6215 MB / 414.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.148, allocations: 108.8 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.002905/0.1509, allocations: 1.564 MB / 416.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/0.1518, allocations: 1 MB / 417.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.1522, allocations: 97.64 kB / 417.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.1523, allocations: 47.42 kB / 417.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1523, allocations: 0 / 417.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01742/0.1697, allocations: 8.672 MB / 426.3 MB, free: 10.58 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)