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.001117/0.001117, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00136/0.00136, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.457 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.0004366/0.0004368, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2424, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004071/0.2466, allocations: 4.494 MB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007658/0.2542, allocations: 5.953 MB / 336.9 MB, free: 9.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005153/0.2548, allocations: 35.75 kB / 337 MB, free: 8.988 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2559, allocations: 398.8 kB / 337.3 MB, free: 8.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.2575, allocations: 0.6366 MB / 338 MB, free: 7.953 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008025/0.2583, allocations: 295 kB / 338.3 MB, free: 7.664 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.261, allocations: 1.872 MB / 340.1 MB, free: 5.785 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.2614, allocations: 151.4 kB / 340.3 MB, free: 5.625 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.2617, allocations: 306.4 kB / 340.6 MB, free: 5.324 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.2621, allocations: 306 kB / 340.9 MB, free: 5.023 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.2621, allocations: 20 kB / 340.9 MB, free: 5.004 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008504/0.263, allocations: 419.6 kB / 341.3 MB, free: 4.594 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.2631, allocations: 91.25 kB / 341.4 MB, free: 4.504 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.2633, allocations: 225 kB / 341.6 MB, free: 4.277 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009616/0.2643, allocations: 0.9076 MB / 342.5 MB, free: 3.367 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2643, allocations: 0 / 342.5 MB, free: 3.367 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2643, allocations: 0 / 342.5 MB, free: 3.367 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.2643, allocations: 0 / 342.5 MB, free: 3.367 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.001775/0.2661, allocations: 1.309 MB / 343.8 MB, free: 2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2661, allocations: 8.031 kB / 343.8 MB, free: 1.992 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2663, allocations: 126.4 kB / 344 MB, free: 1.867 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2674, allocations: 0.8047 MB / 344.8 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2674, allocations: 12.44 kB / 344.8 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.2675, allocations: 24 kB / 344.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.268, allocations: 306.6 kB / 345.1 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2681, allocations: 0 / 345.1 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.2681, allocations: 12 kB / 345.1 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2681, allocations: 4 kB / 345.1 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.2685, allocations: 229.8 kB / 345.3 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.2701, allocations: 1.126 MB / 346.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.2705, allocations: 254.3 kB / 346.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.2709, allocations: 304.8 kB / 347 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008998/0.2718, allocations: 0.7516 MB / 347.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.2719, allocations: 42.56 kB / 347.8 MB, free: 13.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 1.723e-06/0.2719, allocations: 0 / 347.8 MB, free: 13.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.002666/0.2746, allocations: 1.587 MB / 349.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.2746, allocations: 110.8 kB / 349.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.2756, allocations: 0.9184 MB / 350.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2756, allocations: 33.7 kB / 350.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.2759, allocations: 357.5 kB / 350.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.974e-05/0.276, allocations: 134.1 kB / 350.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.276, allocations: 4 kB / 350.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.2761, allocations: 318 kB / 351.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2763, allocations: 124.6 kB / 351.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2766, allocations: 163.8 kB / 351.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.2769, allocations: 194.9 kB / 351.7 MB, free: 9.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2769, allocations: 0 / 351.7 MB, free: 9.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008428/0.2777, allocations: 0.5534 MB / 352.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.2778, allocations: 37.7 kB / 352.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.2778, allocations: 15.98 kB / 352.3 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.278, allocations: 65.62 kB / 352.4 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2783, allocations: 47.97 kB / 352.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.2804, allocations: 2.993 MB / 355.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.2807, allocations: 16.08 kB / 355.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.2808, allocations: 27.94 kB / 355.5 MB, free: 5.602 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.2811, allocations: 259.9 kB / 355.7 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2813, allocations: 122.5 kB / 355.9 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.2825, allocations: 0.6764 MB / 356.5 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2826, allocations: 7.984 kB / 356.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2826, allocations: 0 / 356.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2826, allocations: 4 kB / 356.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.2832, allocations: 0.616 MB / 357.2 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/0.2833, allocations: 11.95 kB / 357.2 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.2834, allocations: 35.97 kB / 357.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/0.2836, allocations: 69.67 kB / 357.3 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.2837, allocations: 19.98 kB / 357.3 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.2857, allocations: 2.992 MB / 360.3 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2857, allocations: 0 / 360.3 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.287, allocations: 0.8667 MB / 361.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.2873, allocations: 275.5 kB / 361.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.2874, allocations: 4.125 kB / 361.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2877, allocations: 19.98 kB / 361.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.2878, allocations: 35.92 kB / 361.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.2878, allocations: 19.98 kB / 361.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007204/0.2886, allocations: 0.614 MB / 362.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2886, allocations: 4 kB / 362.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008164/0.2894, allocations: 219.9 kB / 362.3 MB, free: 14.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005058/0.2899, allocations: 302.7 kB / 362.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.291, allocations: 0.7894 MB / 363.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.291, allocations: 0 / 363.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.2918, allocations: 0.6283 MB / 364 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.2923, allocations: 92.81 kB / 364.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.2946, allocations: 1.872 MB / 366 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.2952, allocations: 1.004 MB / 367 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.2955, allocations: 93.64 kB / 367.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.2956, allocations: 51.36 kB / 367.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2956, allocations: 4 kB / 367.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01537/0.311, allocations: 8.155 MB / 375.3 MB, free: 1.164 MB / 302.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)