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.001121/0.001121, allocations: 110.6 kB / 16.51 MB, free: 6.652 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.00117/0.00117, allocations: 199.8 kB / 17.43 MB, free: 6.035 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.288/1.288, allocations: 205.1 MB / 223.3 MB, free: 12.45 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.001098/0.001098, allocations: 47.94 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07642/0.07753, allocations: 46.62 MB / 325.9 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005225/0.08279, allocations: 5.212 MB / 331.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007412/0.09023, allocations: 6.708 MB / 337.9 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.09081, allocations: 39.75 kB / 337.9 MB, free: 8.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.09202, allocations: 441.7 kB / 338.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.09379, allocations: 0.6716 MB / 339 MB, free: 7.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.09471, allocations: 331 kB / 339.3 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002697/0.09742, allocations: 1.942 MB / 341.3 MB, free: 5.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.09776, allocations: 151.5 kB / 341.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.09836, allocations: 326.3 kB / 341.7 MB, free: 5.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.09875, allocations: 329.6 kB / 342.1 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.09882, allocations: 20 kB / 342.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.1002, allocations: 451.6 kB / 342.5 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1003, allocations: 107.2 kB / 342.6 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.1007, allocations: 437.1 kB / 343 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.102, allocations: 1.249 MB / 344.3 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.102, allocations: 0 / 344.3 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.102, allocations: 0 / 344.3 MB, free: 2.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.102, allocations: 3.938 kB / 344.3 MB, free: 2.438 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.001903/0.1039, allocations: 1.44 MB / 345.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.104, allocations: 12.03 kB / 345.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1041, allocations: 130.3 kB / 345.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1051, allocations: 0.8464 MB / 346.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1052, allocations: 16.44 kB / 346.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.1052, allocations: 24 kB / 346.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.1057, allocations: 306.7 kB / 347.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1058, allocations: 0 / 347.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1058, allocations: 15.92 kB / 347.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1058, allocations: 4 kB / 347.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.1062, allocations: 221.8 kB / 347.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1078, allocations: 1.122 MB / 348.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.1082, allocations: 254.3 kB / 348.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.1087, allocations: 296.5 kB / 349 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000897/0.1096, allocations: 0.7555 MB / 349.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1096, allocations: 34.56 kB / 349.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 3.126e-06/0.1097, allocations: 3.984 kB / 349.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002712/0.1124, allocations: 1.553 MB / 351.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.1124, allocations: 114.8 kB / 351.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009071/0.1134, allocations: 0.9301 MB / 352.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1134, allocations: 33.64 kB / 352.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.1137, allocations: 357.5 kB / 352.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.1137, allocations: 130.1 kB / 352.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1139, allocations: 117.5 kB / 353 MB, free: 9.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.114, allocations: 325.9 kB / 353.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.1143, allocations: 124.6 kB / 353.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1145, allocations: 167.6 kB / 353.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.1159, allocations: 0.7333 MB / 354.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1159, allocations: 0 / 354.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008775/0.1168, allocations: 0.5581 MB / 354.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.1168, allocations: 37.69 kB / 354.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.1169, allocations: 16 kB / 354.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.1171, allocations: 65.69 kB / 355 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.1173, allocations: 43.91 kB / 355 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.1195, allocations: 2.997 MB / 358 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.1198, allocations: 12.03 kB / 358 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.1199, allocations: 24.05 kB / 358.1 MB, free: 3.832 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.0003519/0.1202, allocations: 263.9 kB / 358.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1204, allocations: 118.5 kB / 358.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.1216, allocations: 0.6684 MB / 359.1 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1217, allocations: 0 / 359.1 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1217, allocations: 7.938 kB / 359.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1217, allocations: 3.984 kB / 359.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.1223, allocations: 0.6082 MB / 359.7 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/0.1224, allocations: 16 kB / 359.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1226, allocations: 35.97 kB / 359.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.1228, allocations: 73.61 kB / 359.8 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.1228, allocations: 16 kB / 359.9 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.1251, allocations: 2.997 MB / 362.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1251, allocations: 0 / 362.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.1263, allocations: 0.8511 MB / 363.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.1266, allocations: 275.4 kB / 364 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1268, allocations: 11.94 kB / 364 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.127, allocations: 8 kB / 364 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.1271, allocations: 39.89 kB / 364 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.1272, allocations: 20.06 kB / 364.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006986/0.1279, allocations: 0.6295 MB / 364.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1279, allocations: 0 / 364.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007606/0.1287, allocations: 223.9 kB / 364.9 MB, free: 12.58 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.0004927/0.1292, allocations: 299 kB / 365.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.1302, allocations: 0.7777 MB / 366 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1302, allocations: 0 / 366 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.1308, allocations: 0.6282 MB / 366.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.1314, allocations: 104.7 kB / 366.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.1336, allocations: 1.912 MB / 368.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.134, allocations: 1.004 MB / 369.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.1344, allocations: 93.64 kB / 369.7 MB, free: 7.574 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.1344, allocations: 47.44 kB / 369.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1344, allocations: 0 / 369.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of Templates: time 0.1307/0.2652, allocations: 8.349 MB / 378.1 MB, free: 53.01 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)