Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [: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.2+maint.om/package.mo): time 0.001057/0.001057, allocations: 195.5 kB / 8.139 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.087/1.087, allocations: 194.2 MB / 202.8 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001859/0.001859, allocations: 115.7 kB / 247.7 MB, free: 6.277 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.653e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07424/0.07427, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.2722, allocations: 75.46 MB / 417.5 MB, free: 19.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.2724, allocations: 84.61 kB / 417.6 MB, free: 19.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01708/0.2895, allocations: 6.712 MB / 424.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.2896, allocations: 19.98 kB / 424.3 MB, free: 14.03 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.000916/0.2905, allocations: 0.6505 MB / 425 MB, free: 13.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2905, allocations: 8.031 kB / 425 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.2907, allocations: 55.34 kB / 425.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.2911, allocations: 367.1 kB / 425.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2911, allocations: 12 kB / 425.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.2912, allocations: 27.56 kB / 425.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004768/0.2917, allocations: 274.7 kB / 425.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.2922, allocations: 373.9 kB / 426.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.2923, allocations: 7.906 kB / 426.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.2923, allocations: 0 / 426.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2923, allocations: 12 kB / 426.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.2942, allocations: 1.75 MB / 427.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2947, allocations: 310 kB / 428.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.2949, allocations: 200.7 kB / 428.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.295, allocations: 8.312 kB / 428.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.2953, allocations: 228.6 kB / 428.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.2953, allocations: 0 / 428.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006639/0.296, allocations: 385.2 kB / 429 MB, free: 10.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.296, allocations: 89.09 kB / 429.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.2962, allocations: 247.5 kB / 429.3 MB, free: 9.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2962, allocations: 25.7 kB / 429.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.2963, allocations: 183.7 kB / 429.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.2964, allocations: 127.9 kB / 429.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.2964, allocations: 0 / 429.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.2965, allocations: 346.6 kB / 430 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.2966, allocations: 105.5 kB / 430.1 MB, free: 9.117 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2968, allocations: 224 kB / 430.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.2971, allocations: 125.1 kB / 430.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2971, allocations: 4 kB / 430.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006506/0.2977, allocations: 443 kB / 430.8 MB, free: 8.484 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2977, allocations: 19.92 kB / 430.9 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2978, allocations: 0 / 430.9 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.2982, allocations: 138 kB / 431 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.2984, allocations: 63.66 kB / 431.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.3003, allocations: 2.028 MB / 433.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3005, allocations: 35.75 kB / 433.1 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.3006, allocations: 19.94 kB / 433.1 MB, free: 6.461 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.3007, allocations: 116.4 kB / 433.3 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.3007, allocations: 45.52 kB / 433.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.3008, allocations: 42.97 kB / 433.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3008, allocations: 4 kB / 433.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3008, allocations: 1.875 kB / 433.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3009, allocations: 3.938 kB / 433.3 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.3012, allocations: 422.3 kB / 433.8 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3012, allocations: 3.938 kB / 433.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.3014, allocations: 39.97 kB / 433.8 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.3018, allocations: 135 kB / 433.9 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.3018, allocations: 3.906 kB / 433.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.3036, allocations: 2.026 MB / 436 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3036, allocations: 3.906 kB / 436 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008068/0.3044, allocations: 0.5879 MB / 436.6 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.3046, allocations: 149.1 kB / 436.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.3046, allocations: 0 / 436.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3048, allocations: 15.92 kB / 436.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.3049, allocations: 27.05 kB / 436.7 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3049, allocations: 10.62 kB / 436.8 MB, free: 3.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000145/0.3051, allocations: 194.1 kB / 436.9 MB, free: 3.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.3055, allocations: 119.7 kB / 437.1 MB, free: 3.098 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001274/0.3056, allocations: 112.3 kB / 437.2 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.3063, allocations: 450.9 kB / 437.6 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3063, allocations: 4.062 kB / 437.6 MB, free: 2.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.3066, allocations: 305.2 kB / 437.9 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3069, allocations: 54.2 kB / 438 MB, free: 2.359 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3082, allocations: 0.5809 MB / 438.5 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.3085, allocations: 0.859 MB / 439.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3085, allocations: 0 / 439.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of Templates: time 0.01036/0.3189, allocations: 5.856 MB / 445.3 MB, free: 11.15 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)