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.0009098/0.0009099, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009626/0.0009628, allocations: 177.3 kB / 15.94 MB, free: 220 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.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.0004665/0.0004666, allocations: 16 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005403/0.2593, allocations: 4.201 MB / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008542/0.2679, allocations: 5.665 MB / 336.3 MB, free: 9.633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008579/0.2688, allocations: 43.44 kB / 336.3 MB, free: 9.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.2702, allocations: 402 kB / 336.7 MB, free: 9.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.2735, allocations: 0.7125 MB / 337.5 MB, free: 8.496 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.2751, allocations: 319.2 kB / 337.8 MB, free: 8.184 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003565/0.2786, allocations: 1.825 MB / 339.6 MB, free: 6.355 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.279, allocations: 147.4 kB / 339.7 MB, free: 6.195 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005725/0.2796, allocations: 298.5 kB / 340 MB, free: 5.902 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.28, allocations: 309.9 kB / 340.3 MB, free: 5.598 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.2801, allocations: 16 kB / 340.3 MB, free: 5.582 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.2814, allocations: 431.6 kB / 340.8 MB, free: 5.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.2815, allocations: 87.33 kB / 340.9 MB, free: 5.074 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2816, allocations: 217.1 kB / 341.1 MB, free: 4.855 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.2826, allocations: 0.8959 MB / 342 MB, free: 3.957 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2826, allocations: 4 kB / 342 MB, free: 3.953 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2826, allocations: 0 / 342 MB, free: 3.953 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2826, allocations: 0 / 342 MB, free: 3.953 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.001867/0.2845, allocations: 1.301 MB / 343.3 MB, free: 2.594 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2846, allocations: 8.031 kB / 343.3 MB, free: 2.586 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.2847, allocations: 130.4 kB / 343.4 MB, free: 2.457 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2859, allocations: 0.8046 MB / 344.2 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.2859, allocations: 20.44 kB / 344.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.286, allocations: 24 kB / 344.2 MB, free: 1.559 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.2865, allocations: 306.6 kB / 344.5 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2865, allocations: 0 / 344.5 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.2866, allocations: 12 kB / 344.6 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2866, allocations: 4 kB / 344.6 MB, free: 1.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.2871, allocations: 233.7 kB / 344.8 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.2891, allocations: 1.149 MB / 345.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.2896, allocations: 246.4 kB / 346.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.2906, allocations: 0.7516 MB / 346.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2906, allocations: 30.56 kB / 347 MB, free: 14.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=38): time 3.015e-06/0.2907, allocations: 3.984 kB / 347 MB, free: 14.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.00305/0.2937, allocations: 1.972 MB / 348.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.2938, allocations: 118.8 kB / 349.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.2948, allocations: 0.9261 MB / 350 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2949, allocations: 33.7 kB / 350 MB, free: 11.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.2952, allocations: 357.6 kB / 350.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.455e-05/0.2953, allocations: 130 kB / 350.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.2953, allocations: 8 kB / 350.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2954, allocations: 322 kB / 350.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.2956, allocations: 124.6 kB / 350.9 MB, free: 10.4 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.2959, allocations: 159.8 kB / 351.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.2962, allocations: 187 kB / 351.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2962, allocations: 0 / 351.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008816/0.2971, allocations: 0.5572 MB / 351.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.2972, allocations: 33.7 kB / 351.9 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/0.2972, allocations: 19.98 kB / 351.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.2974, allocations: 69.72 kB / 351.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2977, allocations: 47.91 kB / 352 MB, free: 9.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.3001, allocations: 3.009 MB / 355 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.3004, allocations: 16.03 kB / 355 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.3005, allocations: 20.11 kB / 355 MB, free: 5.977 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.0004427/0.301, allocations: 275.8 kB / 355.3 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3011, allocations: 118.6 kB / 355.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3025, allocations: 0.6803 MB / 356.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3025, allocations: 4 kB / 356.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3025, allocations: 0 / 356.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3025, allocations: 7.984 kB / 356.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/0.3032, allocations: 0.616 MB / 356.7 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.3033, allocations: 8 kB / 356.7 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.3035, allocations: 43.86 kB / 356.8 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.3037, allocations: 69.67 kB / 356.9 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.3037, allocations: 15.98 kB / 356.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.3058, allocations: 3.004 MB / 359.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3058, allocations: 4 kB / 359.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.307, allocations: 0.8667 MB / 360.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.3074, allocations: 279.5 kB / 361 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.3075, allocations: 8 kB / 361 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.3078, allocations: 15.98 kB / 361 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.3079, allocations: 27.97 kB / 361.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.308, allocations: 23.94 kB / 361.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007078/0.3087, allocations: 0.6179 MB / 361.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3087, allocations: 4 kB / 361.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008334/0.3095, allocations: 219.9 kB / 361.9 MB, free: 14.68 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.0005226/0.31, allocations: 310.7 kB / 362.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.3112, allocations: 0.7923 MB / 363 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3112, allocations: 0 / 363 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.3118, allocations: 0.6176 MB / 363.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3122, allocations: 88.81 kB / 363.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.3146, allocations: 1.86 MB / 365.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.3152, allocations: 1.023 MB / 366.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003251/0.3156, allocations: 97.62 kB / 366.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.3157, allocations: 47.44 kB / 366.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3157, allocations: 0 / 366.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of Templates: time 0.01679/0.3325, allocations: 7.901 MB / 374.7 MB, free: 1.754 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Graetz.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: