Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007988/0.007993, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001906/0.001907, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001188/0.001188, allocations: 49.02 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09224, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00615/0.09845, allocations: 5.19 MB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008037/0.1065, allocations: 6.57 MB / 384.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.1072, allocations: 39.69 kB / 385 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.1087, allocations: 0.5047 MB / 385.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.1109, allocations: 0.8147 MB / 386.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1121, allocations: 434.4 kB / 386.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.1151, allocations: 1.985 MB / 388.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1154, allocations: 167 kB / 388.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.1159, allocations: 370.2 kB / 389.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.1163, allocations: 345.7 kB / 389.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.1163, allocations: 32 kB / 389.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.1174, allocations: 471.5 kB / 390 MB, free: 368 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1175, allocations: 107.2 kB / 390.1 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.1179, allocations: 449 kB / 390.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1194, allocations: 1.283 MB / 391.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1194, allocations: 0 / 391.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1194, allocations: 0 / 391.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1194, allocations: 0 / 391.9 MB, free: 14.52 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.002069/0.1215, allocations: 1.49 MB / 393.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1215, allocations: 8.031 kB / 393.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.1217, allocations: 139.1 kB / 393.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.1229, allocations: 0.8554 MB / 394.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1229, allocations: 16.44 kB / 394.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.123, allocations: 23.95 kB / 394.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.1235, allocations: 306.6 kB / 394.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1236, allocations: 0 / 394.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.1236, allocations: 15.94 kB / 394.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1236, allocations: 8 kB / 394.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.124, allocations: 225.8 kB / 394.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.1258, allocations: 1.122 MB / 396.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.1262, allocations: 238.5 kB / 396.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.1267, allocations: 297.8 kB / 396.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.1277, allocations: 0.7593 MB / 397.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1278, allocations: 34.55 kB / 397.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.783e-06/0.1278, allocations: 0 / 397.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002875/0.1307, allocations: 1.568 MB / 398.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.1308, allocations: 106.8 kB / 399.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.1318, allocations: 0.9379 MB / 400 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1319, allocations: 37.7 kB / 400 MB, free: 5.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.1322, allocations: 353.8 kB / 400.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.1323, allocations: 134.8 kB / 400.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.1324, allocations: 121.7 kB / 400.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1326, allocations: 321.9 kB / 400.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.1328, allocations: 124.6 kB / 401.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.1331, allocations: 163.6 kB / 401.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.1345, allocations: 0.737 MB / 402 MB, free: 3.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1345, allocations: 0 / 402 MB, free: 3.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009112/0.1354, allocations: 0.5663 MB / 402.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.1355, allocations: 37.69 kB / 402.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.1355, allocations: 16 kB / 402.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.1357, allocations: 65.69 kB / 402.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.136, allocations: 44 kB / 402.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.1385, allocations: 3.332 MB / 406 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.1388, allocations: 19.95 kB / 406 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.1389, allocations: 23.98 kB / 406.1 MB, free: 15.48 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.0003746/0.1393, allocations: 260 kB / 406.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1394, allocations: 131.2 kB / 406.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.1407, allocations: 0.6685 MB / 407.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1407, allocations: 8 kB / 407.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1407, allocations: 0 / 407.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1407, allocations: 4 kB / 407.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.1414, allocations: 0.6159 MB / 407.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.1414, allocations: 15.98 kB / 407.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1416, allocations: 31.92 kB / 407.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.1418, allocations: 73.61 kB / 407.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.1419, allocations: 23.98 kB / 407.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.1443, allocations: 3.335 MB / 411.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1443, allocations: 0 / 411.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1455, allocations: 0.8518 MB / 412.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.1459, allocations: 280.2 kB / 412.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.146, allocations: 7.938 kB / 412.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.1463, allocations: 16.11 kB / 412.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.1464, allocations: 31.91 kB / 412.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.1464, allocations: 23.98 kB / 412.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000732/0.1472, allocations: 0.6256 MB / 413 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1472, allocations: 4.062 kB / 413 MB, free: 8.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.148, allocations: 227.5 kB / 413.3 MB, free: 7.859 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.0005992/0.1486, allocations: 298.6 kB / 413.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1498, allocations: 0.7883 MB / 414.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1498, allocations: 0 / 414.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.1505, allocations: 0.6097 MB / 415 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.1511, allocations: 108.8 kB / 415.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.1532, allocations: 1.616 MB / 416.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.1537, allocations: 1 MB / 417.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.154, allocations: 93.64 kB / 417.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.1541, allocations: 47.44 kB / 417.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1541, allocations: 0 / 417.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of Templates: time 0.01594/0.17, allocations: 8.676 MB / 426.5 MB, free: 10.41 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)