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.0009874/0.000988, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005725/0.005725, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.329/1.329, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004218/0.0004218, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 47.6 MB / 327 MB, free: 1.355 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004368/0.2175, allocations: 4.788 MB / 331.8 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008532/0.226, allocations: 6.599 MB / 338.4 MB, free: 7.941 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008201/0.2269, allocations: 35.75 kB / 338.5 MB, free: 7.906 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.2284, allocations: 458.6 kB / 338.9 MB, free: 7.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.2307, allocations: 0.6756 MB / 339.6 MB, free: 6.773 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2319, allocations: 330.8 kB / 339.9 MB, free: 6.449 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.2345, allocations: 1.942 MB / 341.8 MB, free: 4.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.2348, allocations: 143.5 kB / 342 MB, free: 4.348 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.2352, allocations: 326.2 kB / 342.3 MB, free: 4.027 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.2356, allocations: 321.7 kB / 342.6 MB, free: 3.711 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.2357, allocations: 20 kB / 342.6 MB, free: 3.691 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009591/0.2366, allocations: 455.6 kB / 343.1 MB, free: 3.246 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.2367, allocations: 99.19 kB / 343.2 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.2371, allocations: 454.7 kB / 343.6 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.2383, allocations: 1.222 MB / 344.8 MB, free: 1.469 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2384, allocations: 0 / 344.8 MB, free: 1.469 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2384, allocations: 0 / 344.8 MB, free: 1.469 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2384, allocations: 0 / 344.8 MB, free: 1.469 MB / 270.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.00164/0.24, allocations: 1.289 MB / 346.1 MB, free: 124 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2401, allocations: 8.031 kB / 346.1 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2402, allocations: 130.6 kB / 346.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2413, allocations: 0.8502 MB / 347.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.2413, allocations: 20.44 kB / 347.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.2414, allocations: 27.92 kB / 347.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.2419, allocations: 310.7 kB / 347.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2419, allocations: 3.984 kB / 347.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.242, allocations: 11.94 kB / 347.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.242, allocations: 4 kB / 347.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.2424, allocations: 229.8 kB / 347.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.244, allocations: 1.13 MB / 348.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.2444, allocations: 242.5 kB / 349.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.2449, allocations: 297.4 kB / 349.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008508/0.2458, allocations: 0.7555 MB / 350.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2458, allocations: 38.5 kB / 350.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 1.703e-06/0.2458, allocations: 0 / 350.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.002886/0.2487, allocations: 1.59 MB / 351.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2488, allocations: 110.8 kB / 351.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.2498, allocations: 0.934 MB / 352.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.2498, allocations: 33.7 kB / 352.8 MB, free: 8.996 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.2501, allocations: 357.5 kB / 353.2 MB, free: 8.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.2502, allocations: 134 kB / 353.3 MB, free: 8.512 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.2503, allocations: 33.7 kB / 353.3 MB, free: 8.473 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.2504, allocations: 325.9 kB / 353.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.2506, allocations: 124.6 kB / 353.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.2509, allocations: 171.6 kB / 354 MB, free: 7.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.2523, allocations: 0.7566 MB / 354.7 MB, free: 7.062 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2523, allocations: 0 / 354.7 MB, free: 7.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009065/0.2532, allocations: 0.5555 MB / 355.3 MB, free: 6.488 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.2533, allocations: 41.69 kB / 355.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.2533, allocations: 12 kB / 355.3 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.2536, allocations: 77.64 kB / 355.4 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2538, allocations: 47.98 kB / 355.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.2561, allocations: 3 MB / 358.4 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.2564, allocations: 12.03 kB / 358.5 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.2564, allocations: 23.98 kB / 358.5 MB, free: 2.988 MB / 286.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.0003756/0.2568, allocations: 263.9 kB / 358.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.257, allocations: 118.5 kB / 358.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.2583, allocations: 0.6724 MB / 359.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2583, allocations: 4 kB / 359.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2583, allocations: 7.938 kB / 359.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2583, allocations: 3.984 kB / 359.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006937/0.259, allocations: 0.6082 MB / 360.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/0.259, allocations: 12 kB / 360.2 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.2592, allocations: 39.97 kB / 360.2 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.2594, allocations: 69.67 kB / 360.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.2595, allocations: 20 kB / 360.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.2617, allocations: 3 MB / 363.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2617, allocations: 0 / 363.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.263, allocations: 0.8627 MB / 364.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.2633, allocations: 275.6 kB / 364.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.2634, allocations: 11.94 kB / 364.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.2637, allocations: 20 kB / 364.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.2638, allocations: 31.95 kB / 364.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.2638, allocations: 16 kB / 364.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007125/0.2645, allocations: 0.6295 MB / 365.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2645, allocations: 0 / 365.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008303/0.2654, allocations: 219.9 kB / 365.3 MB, free: 11.71 MB / 302.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.0005087/0.2659, allocations: 306.9 kB / 365.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.267, allocations: 0.7895 MB / 366.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.267, allocations: 0 / 366.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.2676, allocations: 0.6243 MB / 367 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.2682, allocations: 100.8 kB / 367.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.2709, allocations: 1.989 MB / 369.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.2715, allocations: 0.9959 MB / 370.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.2718, allocations: 97.62 kB / 370.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.2719, allocations: 47.44 kB / 370.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2719, allocations: 0 / 370.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of Templates: time 0.01573/0.2876, allocations: 8.316 MB / 378.6 MB, free: 14.25 MB / 318.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)