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.001134/0.001134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001173/0.001173, allocations: 59.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1998, allocations: 46.64 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005433/0.2053, allocations: 5.203 MB / 330.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008519/0.2138, allocations: 6.578 MB / 337.1 MB, free: 8.121 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.2148, allocations: 35.75 kB / 337.1 MB, free: 8.086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.2164, allocations: 0.4891 MB / 337.6 MB, free: 7.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.2195, allocations: 0.8185 MB / 338.4 MB, free: 6.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2208, allocations: 434.3 kB / 338.8 MB, free: 6.344 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002899/0.2237, allocations: 1.978 MB / 340.8 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.224, allocations: 159 kB / 341 MB, free: 4.191 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.2245, allocations: 338.3 kB / 341.3 MB, free: 3.859 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.2249, allocations: 345.7 kB / 341.6 MB, free: 3.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.2249, allocations: 32 kB / 341.7 MB, free: 3.488 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.2261, allocations: 467.6 kB / 342.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.2262, allocations: 103.3 kB / 342.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.2266, allocations: 453 kB / 342.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2279, allocations: 1.253 MB / 343.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2279, allocations: 0 / 343.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2279, allocations: 0 / 343.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.228, allocations: 3.984 kB / 343.9 MB, free: 1.223 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.0018/0.2298, allocations: 1.444 MB / 345.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2298, allocations: 12.03 kB / 345.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.23, allocations: 126.4 kB / 345.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.231, allocations: 0.8502 MB / 346.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.231, allocations: 16.38 kB / 346.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.2311, allocations: 24 kB / 346.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.2316, allocations: 310.6 kB / 346.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2316, allocations: 3.984 kB / 346.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.2317, allocations: 15.94 kB / 346.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2317, allocations: 4 kB / 346.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.2321, allocations: 225.8 kB / 347 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.2338, allocations: 1.118 MB / 348.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.2342, allocations: 242.5 kB / 348.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.2347, allocations: 297.4 kB / 348.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009892/0.2357, allocations: 0.7555 MB / 349.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.2357, allocations: 42.5 kB / 349.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 2.195e-06/0.2357, allocations: 0 / 349.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.002921/0.2386, allocations: 1.559 MB / 351 MB, free: 9.758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2387, allocations: 114.8 kB / 351.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.2397, allocations: 0.9262 MB / 352 MB, free: 8.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.2397, allocations: 29.7 kB / 352 MB, free: 8.652 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.24, allocations: 361.5 kB / 352.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2401, allocations: 134.1 kB / 352.5 MB, free: 8.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.2402, allocations: 117.5 kB / 352.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.2403, allocations: 325.9 kB / 352.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.2406, allocations: 124.6 kB / 353.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.2408, allocations: 159.6 kB / 353.2 MB, free: 7.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2422, allocations: 0.7372 MB / 354 MB, free: 6.664 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2422, allocations: 3.938 kB / 354 MB, free: 6.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009021/0.2431, allocations: 0.5553 MB / 354.5 MB, free: 6.086 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.2432, allocations: 45.62 kB / 354.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.2432, allocations: 12 kB / 354.6 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.2434, allocations: 73.67 kB / 354.6 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.2437, allocations: 44 kB / 354.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.2462, allocations: 3.331 MB / 358 MB, free: 2.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.2465, allocations: 12.03 kB / 358 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.2466, allocations: 19.98 kB / 358 MB, free: 2.254 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.0003764/0.247, allocations: 263.9 kB / 358.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.2471, allocations: 122.5 kB / 358.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.2485, allocations: 0.6607 MB / 359.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2485, allocations: 7.984 kB / 359.1 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2485, allocations: 0 / 359.1 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2485, allocations: 3.984 kB / 359.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.2492, allocations: 0.6199 MB / 359.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.2492, allocations: 16 kB / 359.7 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.2494, allocations: 31.97 kB / 359.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.2496, allocations: 73.61 kB / 359.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.2497, allocations: 16 kB / 359.9 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.2521, allocations: 3.331 MB / 363.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2522, allocations: 0 / 363.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.2535, allocations: 0.8512 MB / 364 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.2539, allocations: 283.5 kB / 364.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.254, allocations: 7.938 kB / 364.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.2543, allocations: 16.06 kB / 364.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.2544, allocations: 31.91 kB / 364.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.2544, allocations: 19.98 kB / 364.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007276/0.2552, allocations: 0.6295 MB / 365 MB, free: 10.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2552, allocations: 0 / 365 MB, free: 10.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007837/0.256, allocations: 223.9 kB / 365.2 MB, free: 10.65 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.0005252/0.2565, allocations: 306.9 kB / 365.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2577, allocations: 0.7804 MB / 366.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2577, allocations: 4.062 kB / 366.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.2584, allocations: 0.6204 MB / 366.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.259, allocations: 103.9 kB / 367 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.2612, allocations: 1.605 MB / 368.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.2617, allocations: 0.9961 MB / 369.6 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.2621, allocations: 105.6 kB / 369.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.2622, allocations: 43.44 kB / 369.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2622, allocations: 0 / 369.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of Templates: time 0.01653/0.2787, allocations: 8.645 MB / 378.4 MB, free: 13.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)