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.00106/0.001061, allocations: 91.84 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.001296/0.001296, 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.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.762 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.000465/0.0004652, allocations: 8 kB / 278.9 MB, free: 12.94 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2542, allocations: 47.57 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004512/0.2587, allocations: 4.503 MB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007891/0.2667, allocations: 5.941 MB / 336.9 MB, free: 9.031 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.2673, allocations: 37.94 kB / 336.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2684, allocations: 395.3 kB / 337.3 MB, free: 8.629 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.2702, allocations: 0.6366 MB / 338 MB, free: 7.988 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.2712, allocations: 307 kB / 338.3 MB, free: 7.688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.2741, allocations: 1.868 MB / 340.1 MB, free: 5.812 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.2744, allocations: 147.5 kB / 340.3 MB, free: 5.656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.2749, allocations: 306.5 kB / 340.6 MB, free: 5.355 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.2752, allocations: 306 kB / 340.9 MB, free: 5.055 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.2753, allocations: 19.94 kB / 340.9 MB, free: 5.035 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.2763, allocations: 423.7 kB / 341.3 MB, free: 4.621 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.2764, allocations: 87.33 kB / 341.4 MB, free: 4.535 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.2767, allocations: 217.1 kB / 341.6 MB, free: 4.316 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.2776, allocations: 0.9231 MB / 342.5 MB, free: 3.391 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2776, allocations: 0 / 342.5 MB, free: 3.391 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2776, allocations: 0 / 342.5 MB, free: 3.391 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2776, allocations: 0 / 342.5 MB, free: 3.391 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.001718/0.2793, allocations: 1.301 MB / 343.8 MB, free: 2.031 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2794, allocations: 8.031 kB / 343.8 MB, free: 2.023 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.2795, allocations: 126.4 kB / 344 MB, free: 1.898 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.2806, allocations: 0.8047 MB / 344.8 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2806, allocations: 12.44 kB / 344.8 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.2807, allocations: 24 kB / 344.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.2812, allocations: 310.6 kB / 345.1 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2812, allocations: 0 / 345.1 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.2813, allocations: 12 kB / 345.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2813, allocations: 4 kB / 345.1 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.2817, allocations: 229.8 kB / 345.3 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.2833, allocations: 1.13 MB / 346.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.2838, allocations: 242.4 kB / 346.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.2842, allocations: 308.7 kB / 347 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008832/0.2851, allocations: 0.7516 MB / 347.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2852, allocations: 46.55 kB / 347.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 1.713e-06/0.2852, allocations: 3.938 kB / 347.8 MB, free: 13.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.002795/0.288, allocations: 1.583 MB / 349.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.2881, allocations: 110.8 kB / 349.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/0.289, allocations: 0.9223 MB / 350.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.289, allocations: 29.7 kB / 350.5 MB, free: 10.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.2893, allocations: 357.5 kB / 350.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2894, allocations: 126.1 kB / 350.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.2895, allocations: 4 kB / 350.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2896, allocations: 322 kB / 351.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.2898, allocations: 128.6 kB / 351.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.2901, allocations: 159.8 kB / 351.5 MB, free: 9.887 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.2904, allocations: 187 kB / 351.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2904, allocations: 4 kB / 351.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008674/0.2913, allocations: 0.5572 MB / 352.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.2914, allocations: 37.69 kB / 352.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.2914, allocations: 19.98 kB / 352.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.2916, allocations: 69.69 kB / 352.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.2919, allocations: 43.91 kB / 352.4 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.2943, allocations: 2.997 MB / 355.4 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.2945, allocations: 20.09 kB / 355.5 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.2946, allocations: 20 kB / 355.5 MB, free: 5.629 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.0003819/0.295, allocations: 267.9 kB / 355.7 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2951, allocations: 118.5 kB / 355.9 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.2964, allocations: 0.6647 MB / 356.5 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2964, allocations: 7.938 kB / 356.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2965, allocations: 0 / 356.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2965, allocations: 4 kB / 356.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/0.2972, allocations: 0.6121 MB / 357.1 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/0.2972, allocations: 23.94 kB / 357.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2974, allocations: 31.92 kB / 357.2 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/0.2976, allocations: 73.67 kB / 357.3 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.2977, allocations: 15.98 kB / 357.3 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.3, allocations: 3 MB / 360.3 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3, allocations: 128 / 360.3 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.3012, allocations: 0.8627 MB / 361.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.3016, allocations: 275.5 kB / 361.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.3017, allocations: 8 kB / 361.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.302, allocations: 12 kB / 361.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3021, allocations: 39.91 kB / 361.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.3021, allocations: 12 kB / 361.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000737/0.3029, allocations: 0.6218 MB / 362.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3029, allocations: 0 / 362.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008148/0.3037, allocations: 227.8 kB / 362.3 MB, free: 14.36 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.0005051/0.3042, allocations: 298.7 kB / 362.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3053, allocations: 0.7971 MB / 363.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3053, allocations: 0 / 363.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006742/0.306, allocations: 0.6245 MB / 364 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.3065, allocations: 100.8 kB / 364.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.3089, allocations: 1.872 MB / 366 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3095, allocations: 1.004 MB / 367 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003519/0.3099, allocations: 93.64 kB / 367.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.31, allocations: 47.44 kB / 367.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.31, allocations: 0 / 367.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of Templates: time 0.01605/0.326, allocations: 8.148 MB / 375.3 MB, free: 1.195 MB / 302.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)