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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004035/0.004035, allocations: 175.2 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.221/1.221, allocations: 170.6 MB / 178.4 MB, free: 15.79 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001638/0.001637, allocations: 111.9 kB / 217.7 MB, free: 8.57 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.861e-06, allocations: 0 / 261.7 MB, free: 26.71 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06823/0.06825, allocations: 38.76 MB / 300.5 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.3069, allocations: 77.17 MB / 377.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3072, allocations: 78.27 kB / 377.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.0992/0.4064, allocations: 36.2 MB / 413.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.4065, allocations: 20 kB / 414 MB, free: 9.555 MB / 298.7 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.002336/0.4088, allocations: 1.193 MB / 415.2 MB, free: 8.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4089, allocations: 8.031 kB / 415.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.4092, allocations: 126.4 kB / 415.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.4104, allocations: 0.7151 MB / 416 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.4105, allocations: 12 kB / 416 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.4105, allocations: 19.91 kB / 416 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004347/0.411, allocations: 201 kB / 416.2 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.4115, allocations: 266.4 kB / 416.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4115, allocations: 0 / 416.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.4115, allocations: 0 / 416.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.4115, allocations: 4 kB / 416.5 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.4138, allocations: 1.14 MB / 417.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.4142, allocations: 206.6 kB / 417.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.4146, allocations: 272.6 kB / 418.1 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/0.4163, allocations: 1.27 MB / 419.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4163, allocations: 38.55 kB / 419.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/0.4163, allocations: 0 / 419.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002809/0.4191, allocations: 1.152 MB / 420.6 MB, free: 2.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.4192, allocations: 114.8 kB / 420.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/0.4202, allocations: 0.709 MB / 421.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.4203, allocations: 29.7 kB / 421.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4204, allocations: 197.5 kB / 421.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.4206, allocations: 126 kB / 421.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.4206, allocations: 4 kB / 421.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4207, allocations: 325.8 kB / 422 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.4209, allocations: 100.3 kB / 422.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4211, allocations: 146.5 kB / 422.3 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.4215, allocations: 136 kB / 422.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4215, allocations: 0 / 422.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009083/0.4224, allocations: 469.9 kB / 422.9 MB, free: 60 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4224, allocations: 11.97 kB / 422.9 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/0.4225, allocations: 15.98 kB / 422.9 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.4228, allocations: 73.7 kB / 423 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.423, allocations: 35.92 kB / 423 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.4256, allocations: 2.87 MB / 425.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.426, allocations: 7.984 kB / 425.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.426, allocations: 16 kB / 425.9 MB, free: 12.78 MB / 314.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * 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.0001754/0.4262, allocations: 150.6 kB / 426.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.4264, allocations: 122.5 kB / 426.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.4282, allocations: 0.6824 MB / 426.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.4282, allocations: 4 kB / 426.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4282, allocations: 0 / 426.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.4282, allocations: 3.906 kB / 426.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.429, allocations: 0.5562 MB / 427.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/0.4291, allocations: 11.98 kB / 427.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.4293, allocations: 40.09 kB / 427.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.4295, allocations: 73.69 kB / 427.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.4296, allocations: 11.98 kB / 427.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.4319, allocations: 2.866 MB / 430.4 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4319, allocations: 3.938 kB / 430.4 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001259/0.4332, allocations: 0.775 MB / 431.2 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.4337, allocations: 283.4 kB / 431.5 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.4338, allocations: 7.984 kB / 431.5 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.4341, allocations: 8.062 kB / 431.5 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.4342, allocations: 31.91 kB / 431.5 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.4343, allocations: 19.98 kB / 431.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0006937/0.435, allocations: 0.5438 MB / 432.1 MB, free: 6.258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001016/0.436, allocations: 231.8 kB / 432.3 MB, free: 6.031 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete 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.0009159/0.4369, allocations: 414.8 kB / 432.7 MB, free: 5.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009621/0.4379, allocations: 0.6414 MB / 433.4 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4379, allocations: 0 / 433.4 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.4385, allocations: 0.5273 MB / 433.9 MB, free: 4.344 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.4389, allocations: 84.66 kB / 434 MB, free: 4.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.441, allocations: 1.059 MB / 435 MB, free: 3.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/0.4417, allocations: 1.056 MB / 436.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4417, allocations: 0 / 436.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of Templates: time 0.01697/0.4587, allocations: 8.192 MB / 444.3 MB, free: 9.883 MB / 330.7 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)